[BUGFIX] Fix doubleclick-doublesubmit touchup 57/50857/2
authorMarkus Timtner <markus@timtner.de>
Mon, 21 Nov 2016 10:07:58 +0000 (11:07 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 3 Dec 2016 10:19:09 +0000 (11:19 +0100)
commit4561d4a3277e5af75cea66ab52c69de1ebc06415
treea44d58a8859d1ab78f96a7fc0a87e34e8a80f7f2
parent1441299e6742def0a2c89b35ca2070bc410b7793
[BUGFIX] Fix doubleclick-doublesubmit touchup

If a user double-clicks fast enough on any save-button of any new record
in Chrome, the record gets submitted twice.
This fix introduces a semaphore variable in the corresponding JS
to ensure the record gets submitted only once.

Resolves: #77942
Related: #77729, #77944
Releases: master, 7.6
Change-Id: I73516b6a07b23b947e0756dea7051863546a246d
Reviewed-on: https://review.typo3.org/50857
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js