[BUGFIX] SplitButtons: Abort click event if requested 68/53968/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 7 Sep 2017 18:13:17 +0000 (20:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 8 Sep 2017 15:48:07 +0000 (17:48 +0200)
commita2b24cd13e481ee6dd956c3ccb74cfc97523188f
tree0e1349ad8645ac76d5d8c988c053126a48723b9d
parentd047b314162ad1683f116df762384ada8b9dd5f3
[BUGFIX] SplitButtons: Abort click event if requested

If any callback is registered by `SplitButtons.addPreSubmitCallback()` and
requests to stop the event by `stopPropagation()`, the event must be
aborted and not only possibly stacked events.
Additionally, the `preventExec` flag gets reset.

Resolves: #82355
Related: #77942
Releases: master, 8.7, 7.6
Change-Id: Ib8478ef4c51915365c804c1c408b3fc16a13da0b
Reviewed-on: https://review.typo3.org/53968
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Matthias Vogel <typo3@kanti.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Resources/Public/JavaScript/SplitButtons.js