[BUGFIX] Fix frame communication for RTE wizards 08/50208/6
authorFrank Naegler <frank.naegler@typo3.org>
Thu, 13 Oct 2016 09:12:58 +0000 (11:12 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 13 Oct 2016 10:38:02 +0000 (12:38 +0200)
This patch fix broken wizards in RTE.

The patch re-add the property top.TYPO3.Backend.ContentContainer.iframe

Resolves: #78268
Releases: master
Change-Id: Ibdf3b2cd0ace42e023c252be101993adce2add58
Reviewed-on: https://review.typo3.org/50208
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/Viewport.js

index 6a6551d..f7a9703 100644 (file)
@@ -112,6 +112,7 @@ define(
                         * Contentcontainer
                         */
                        ContentContainer: {
+                               'iframe': $('.t3js-scaffold-content-module-iframe')[0].contentWindow,
                                setUrl: function (urlToLoad) {
                                        TYPO3.Backend.Loader.start();
                                        $('.t3js-scaffold-content-module-iframe')