diff --git a/typo3/sysext/backend/Classes/Controller/BackendController.php b/typo3/sysext/backend/Classes/Controller/BackendController.php index aaafd9fadbb8afd24ca8a5ac63f91b90585e9f77..90f541a85dd9a0f30e47608183513ea66039568b 100644 --- a/typo3/sysext/backend/Classes/Controller/BackendController.php +++ b/typo3/sysext/backend/Classes/Controller/BackendController.php @@ -117,7 +117,6 @@ class BackendController $this->jsFiles = [ 'locallang' => $this->getLocalLangFileName(), 'md5' => 'EXT:backend/Resources/Public/JavaScript/md5.js', - 'modulemenu' => 'EXT:backend/Resources/Public/JavaScript/modulemenu.js', 'evalfield' => 'EXT:backend/Resources/Public/JavaScript/jsfunc.evalfield.js', 'backend' => 'EXT:backend/Resources/Public/JavaScript/backend.js', 'iframepanel' => 'EXT:backend/Resources/Public/JavaScript/iframepanel.js', @@ -129,6 +128,9 @@ class BackendController LoginRefresh.initialize(); }'); + // load module menu + $this->pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/ModuleMenu'); + // load Toolbar class $this->pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/Toolbar'); diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/modulemenu.js b/typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js similarity index 100% rename from typo3/sysext/backend/Resources/Public/JavaScript/modulemenu.js rename to typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar.js b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar.js index 05340c9facd9eb8ed1b261bd6581affbbd8b8863..723dc915233575f288825fc4975b9174de101d5d 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/Toolbar.js @@ -20,7 +20,7 @@ require( [ 'jquery', 'TYPO3/CMS/Backend/Icons', - 'TYPO3/CMS/Backend/modulemenu' + 'TYPO3/CMS/Backend/ModuleMenu' ], function ($) { diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js b/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js index bb9970d1d21a476ada965bb8f67946099e7e87f0..9011d8178f13bf78fe1b1ae4c48978f7d0aedaed 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js @@ -420,7 +420,7 @@ TYPO3.Components.PageTree.App = Ext.extend(Ext.Panel, { */ require( [ - 'TYPO3/CMS/Backend/modulemenu' + 'TYPO3/CMS/Backend/ModuleMenu' ], function () { // extjs loading bugfix