[BUGFIX] Trigger submit of RSA encrypted form properly 42/56142/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 12:04:20 +0000 (13:04 +0100)
commit16b7d8413b367009cb25120c3a1411963760f013
tree1974edb9218166f946fbfca6b7e88cced2b1dfee
parent011c2923fded1f3081a52ae4fbb030bb3ca8b8c9
[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/56142
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
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