[BUGFIX] Fix doubleclick-doublesubmit touchup 20/50720/10
authorMarkus Timtner <markus@timtner.de>
Mon, 21 Nov 2016 10:07:58 +0000 (11:07 +0100)
committerJan Helke <typo3@helke.de>
Thu, 1 Dec 2016 10:09:20 +0000 (11:09 +0100)
commit588a5c52ad7f7fad513cb07f9688af0e193bfdaa
treee52bb539b09cef3fb5379f64c784260fa23ac1a4
parentcb077ae21dae7bcfc084ab9def3548da65ac7cd0
[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/50720
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Gianluigi Martino <gmartino27@gmail.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js