[BUGFIX] Fix broken ajax identifiers
authorThomas Maroschik <tmaroschik@dfau.de>
Sun, 26 Aug 2012 10:38:24 +0000 (12:38 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 26 Aug 2012 11:52:07 +0000 (13:52 +0200)
Change-Id: I29c3a221d321a4443e14e80508e22167b4b7f735
Fixes: #40223
Relates: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14105
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php
typo3/sysext/rtehtmlarea/Classes/SelectImage.php

index f76fd8c..8d781ec 100644 (file)
@@ -135,7 +135,7 @@ class FileSystemNavigationFrameController {
 
 
                // setting prefs for foldertree
-               Tree.ajaxID = "TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController::expandCollapse";
+               Tree.ajaxID = "SC_alt_file_navframe::expandCollapse";
 
                // Function, loading the list frame from navigation tree:
                function jumpTo(id, linkObj, highlightID, bank) {
index 2e3bf5d..f55c719 100644 (file)
@@ -801,7 +801,7 @@ class ElementBrowser {
                                $files = $this->expandFolder($selectedFolder, $this->P['params']['allowedExtensions']);
                        }
                        $this->doc->JScode .= $this->doc->wrapScriptTags('
-                       Tree.ajaxID = "TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController::expandCollapse";
+                       Tree.ajaxID = "SC_alt_file_navframe::expandCollapse";
                ');
                        $content .= (((('
                        <!--
@@ -1082,7 +1082,7 @@ class ElementBrowser {
                // include JS files and set prefs for foldertree
                $this->doc->getDragDropCode('folders');
                $this->doc->JScode .= $this->doc->wrapScriptTags('
-                       Tree.ajaxID = "TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController::expandCollapse";
+                       Tree.ajaxID = "SC_alt_file_navframe::expandCollapse";
                ');
                // Starting content:
                $content = $this->doc->startPage('TBE file selector');
@@ -1184,7 +1184,7 @@ class ElementBrowser {
                $this->doc->getDragDropCode('folders');
                // Setting prefs for foldertree
                $this->doc->JScode .= $this->doc->wrapScriptTags('
-                       Tree.ajaxID = "TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController::expandCollapse";
+                       Tree.ajaxID = "SC_alt_file_navframe::expandCollapse";
                ');
                // Starting content:
                $content = $this->doc->startPage('TBE folder selector');
index e86c9eb..6c0d738 100644 (file)
@@ -533,7 +533,7 @@ class BrowseLinks extends \TYPO3\CMS\Recordlist\Browser\ElementBrowser {
                        $content .= $this->addAttributesForm();
                        // Create folder tree:
                        $this->doc->JScode .= $this->doc->wrapScriptTags('
-                                       Tree.ajaxID = "TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController::expandCollapse";
+                                       Tree.ajaxID = "SC_alt_file_navframe::expandCollapse";
                                ');
                        $foldertree = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Rtehtmlarea\\FolderTree');
                        $foldertree->thisScript = $this->thisScript;
index 5c1f2ef..2b4c08e 100644 (file)
@@ -75,7 +75,7 @@ class SelectImage extends \TYPO3\CMS\Recordlist\Browser\ElementBrowser {
                $this->doc->loadJavascriptLib('js/tree.js');
                $this->doc->loadJavascriptLib('js/browse_links.js');
                $this->doc->JScode .= $this->doc->wrapScriptTags('
-                       Tree.ajaxID = "TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController::expandCollapse";
+                       Tree.ajaxID = "SC_alt_file_navframe::expandCollapse";
                ');
                $this->doc->getContextMenuCode();
        }