[BUGFIX] Trigger submit of RSA encrypted form properly 43/56143/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 14 Mar 2018 08:29:55 +0000 (09:29 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Fri, 16 Mar 2018 11:00:26 +0000 (12:00 +0100)
commit8bcd58a219d49340de79e92bdeed69c0cf2e6eec
tree3dd884d3ef899f04c70eae05f5cf0f2df026e60e
parent3fbbae18cbbdd54c56efa86815590fdd62951326
[BUGFIX] Trigger submit of RSA encrypted form properly

The change of #76120 changed the selector of possible submit buttons.
However, in Firefox a submit is not triggered when a focussed submit
element is clicked via JavaScript.

The code is changed to enforce a submit of the form instead.

RsaEncryptionWithLib.min.js created with:
../../../../../../Build/node_modules/uglify-js/bin/uglifyjs \
RsaLibrary.js RsaEncryption.js > RsaEncryptionWithLib.min.js

Resolves: #84253
Related: #76120
Releases: master, 8.7, 7.6
Change-Id: Id30f4536dccec28edc0d909114c8fde71614bc30
Reviewed-on: https://review.typo3.org/56143
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Simon Gilli <typo3@gilbertsoft.org>
Reviewed-by: Kevin Ditscheid <kevinditscheid@gmail.com>
Tested-by: Kevin Ditscheid <kevinditscheid@gmail.com>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionModule.js
typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryptionWithLib.min.js