[BUGFIX] RTE: No expand icon after collapsing folder in image dialogue 33/36033/2
authorStanislas Rolland <typo3@sjbr.ca>
Thu, 15 Jan 2015 21:58:54 +0000 (16:58 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Thu, 15 Jan 2015 22:00:14 +0000 (23:00 +0100)
Applies also to file tab of link dialogue.
Backpath setting is wrong.

Releases: 6.2
Resolves: #64305
Change-Id: I680cbab012c2da1782860bd22e0cb8c7bb63c2dc
Reviewed-on: http://review.typo3.org/36033
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Classes/FolderTree.php

index e13d6fe..e555db5 100644 (file)
@@ -11,15 +11,6 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class FolderTree extends \localFolderTree {
 
        /**
-        * Constructor function of the class
-        */
-       public function __construct() {
-               // The backpath is set here to fix problems with relatives path when used in ajax scope
-               $GLOBALS['BACK_PATH'] = isset($GLOBALS['ajaxID']) ? '../../../' : $GLOBALS['BACK_PATH'];
-               parent::__construct();
-       }
-
-       /**
         * Wrapping the title in a link, if applicable.
         *
         * @param string $title Title, ready for output.