[BUGFIX] Fix t3js-trigger-modal feature 76/44376/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 29 Oct 2015 20:47:44 +0000 (21:47 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Thu, 29 Oct 2015 21:31:30 +0000 (22:31 +0100)
commite2431fdf6d9f91a6b12d7b6f62652e688de51991
tree402193f027a3dafe9400fe3f139c930c5d158224
parentcc24b0030d663e6c5c1705f7be5e5e938db8007d
[BUGFIX] Fix t3js-trigger-modal feature

The event handler registration must be repeated per iframe and
the default action for the OK button must be executed on the
originating document.

Resolves: #71145
Releases: master
Change-Id: Ic99134a80beebd26aa057d5298fb97bae5a9af37
Reviewed-on: https://review.typo3.org/44376
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/backend/Resources/Public/JavaScript/Modal.js