[BUGFIX] Fix multiple "Quit without saving?" messages 60/41160/4
authorFrank Nägler <typo3@naegler.net>
Tue, 14 Jul 2015 07:33:40 +0000 (09:33 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 14 Jul 2015 08:01:49 +0000 (10:01 +0200)
commit15b003b0b200c8855ca490555acd55620f55a51c
tree6cf5f570a4ca293a0007c29055cb5157cff97592
parent6dd63202bbcebfc35486247eabae421047ea35a7
[BUGFIX] Fix multiple "Quit without saving?" messages

In some cases, the event handler was bind multiple times.
This patch moves the binding into a new place.

Resolves: #68095
Releases: master
Change-Id: I40aeb1305b6e0c061a202ddb31a9e8f9fc9b9630
Reviewed-on: http://review.typo3.org/41160
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js