Skip to content

Commit

Permalink
[BUGFIX] Ajax submit disables all Formhandler submit buttons on page …
Browse files Browse the repository at this point in the history
…(fixes #53522)

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/formhandler/trunk@85299 735d13b6-9817-0410-8766-e36946ffe9aa
  • Loading branch information
reinhardfuehricht committed May 16, 2014
1 parent 0656d7d commit dd6a2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/AjaxHandler/Tx_Formhandler_AjaxHandler_JQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ public function initAjax() {
}
$js .= '
function submitButtonClick(el) {
' . $this->jQueryAlias . '("' . $this->submitButtonSelector . '").attr("disabled", "disabled");
var container = el.closest(".Tx-Formhandler");
var form = el.closest("FORM");
el.attr("disabled", "disabled");
';

$params = array(
Expand Down

0 comments on commit dd6a2eb

Please sign in to comment.