Skip to content

Commit

Permalink
Revert "[BUGFIX] Trigger submit of RSA encrypted form properly"
Browse files Browse the repository at this point in the history
This reverts commit 16b7d84.

Since the initial change for issue #76120 addressed the backend part
as well - which would not have been required, since the mentioned issue
was about the frontend behavior only, the change that has been reverted
now again has been considered as superfluous work-around.

Releases: master, 8.7
Resolves: #84503
Reverts: #84253
Change-Id: I2c676b038a10abd8d2c7fb330968657e8fbb81d3
Reviewed-on: https://review.typo3.org/56388
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
  • Loading branch information
ohader committed Mar 21, 2018
1 parent 811d281 commit 04134a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ define(['jquery', './RsaLibrary'], function($) {
// Try to fetch the field which submitted the form
var $currentField = RsaEncryption.$currentForm.find('input[type=submit]:focus,input[type=image]:focus,button:focus');
if ($currentField.length === 1) {
RsaEncryption.$currentForm.trigger('submit');
$currentField.trigger('click');
} else {
// Create a hidden input field to fake pressing the submit button
var name = 'commandLI',
Expand Down

0 comments on commit 04134a1

Please sign in to comment.