[BUGFIX] Change submit handling of RsaEncryptionModule 39/43239/6
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sat, 12 Sep 2015 13:14:35 +0000 (15:14 +0200)
committerNicole Cordes <typo3@cordes.co>
Sat, 12 Sep 2015 16:30:38 +0000 (18:30 +0200)
commit58fa256b266ab5ae4348d3a49d83f6c7e800c567
tree2ff9419ba5f53bc9bfca1306ee81a47c792258b9
parentefa9b42b0aeac97f8a1cf66de508d5c5fe689778
[BUGFIX] Change submit handling of RsaEncryptionModule

Stores the original submit handler, remove it from the form element and
add it back only at a later point, when the RSA module wants to submit
the form. This prevents Chrome to submit a form twice if it contains a
RSA password protected field.

Resolves: #69713
Releases: master
Change-Id: I085b68dfeb901be960096e3d570da097adf0327b
Reviewed-on: http://review.typo3.org/43239
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js