[BUGFIX] Streamline backend module menu and viewport initialization 26/57526/2
authorOliver Hader <oliver@typo3.org>
Tue, 10 Jul 2018 10:42:47 +0000 (12:42 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Wed, 18 Jul 2018 17:35:41 +0000 (19:35 +0200)
commite81f08c1c70d7e1c1db6e71948607271dfa693cb
tree4836b3218819d151276b4847aba6108902b8d082
parent7159e279a0651f428fa73a8bd73aef2de4bd1f95
[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.

Resolves: #80312
Releases: master, 8.7
Change-Id: I9581a7f2164050f73683928b8f2ebe1d69a6d5e7
Reviewed-on: https://review.typo3.org/57526
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: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Private/TypeScript/ModuleMenu.ts
typo3/sysext/backend/Resources/Private/TypeScript/Viewport.ts
typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js
typo3/sysext/backend/Resources/Public/JavaScript/Viewport.js