[BUGFIX] Fix check to determine RTEhtmlarea is in fullscreen mode 39/52339/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 3 Apr 2017 13:11:32 +0000 (15:11 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 3 Apr 2017 15:03:01 +0000 (17:03 +0200)
Due to the implementation of routes the check fails. Check against
the route instead.

Resolves: #78731
Releases: 7.6
Change-Id: Ifef945aa076c36755bc7193bc4702651402181c7
Reviewed-on: https://review.typo3.org/52339
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Rudy Gnodde <rgn@windinternet.nl>
Tested-by: Rudy Gnodde <rgn@windinternet.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php

index 434eb81..1459db2 100644 (file)
@@ -1316,7 +1316,7 @@ class RichTextElement extends AbstractFormElement
      */
     protected function isInFullScreenMode()
     {
-        return GeneralUtility::_GP('M') === 'wizard_rte';
+        return GeneralUtility::_GP('route') === '/wizard/rte';
     }
 
     /**