[BUGFIX] Streamline backend module menu and viewport initialization 27/57527/2
authorOliver Hader <oliver@typo3.org>
Tue, 10 Jul 2018 10:46:31 +0000 (12:46 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Wed, 18 Jul 2018 18:42:57 +0000 (20:42 +0200)
commit1778ad8da5a883f2924ab262d60194b33b38c677
tree7eaf194cd40a19f7288bb6169321e99ff9065936
parent9bc120c85e7156922b4077a11914e6735bcf7f5d
[BUGFIX] Streamline backend module menu and viewport initialization

ModuleMenu and Viewport initialization need to be defered to ensure
that DOM is available in order to apply further behavior in mentioned
client implementation. Besides that, property 'iframe' is extended by
a JavaScript getter - otherwise directly assigning another property of
an undefined object will fail.

Resolves: #80312
Releases: master, 8.7
Change-Id: I9581a7f2164050f73683928b8f2ebe1d69a6d5e7
Reviewed-on: https://review.typo3.org/57527
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js
typo3/sysext/backend/Resources/Public/JavaScript/Viewport.js