[TASK] Remove leftover modulemenu JS 21/34221/2
authorBenjamin Mack <benni@typo3.org>
Sat, 15 Nov 2014 19:07:53 +0000 (20:07 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 15 Nov 2014 21:13:53 +0000 (22:13 +0100)
Prior to the module menu restructuring
based on jQuery, the module menu
was a ExtJS viewport to be fit in the
backend scaffolding dynamically built.

When adding the new code, the old
wasn't completely removed. A ExtJS
panel named modulepanel was still
included but is not in use anymore.

Resolves: #62998
Releases: master
Change-Id: I367bbce1a7dc35b62e0ecaa8c5f16765210e0974
Reviewed-on: http://review.typo3.org/34221
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/js/extjs/modulepanel.js [deleted file]
typo3/sysext/backend/Classes/Controller/BackendController.php

diff --git a/typo3/js/extjs/modulepanel.js b/typo3/js/extjs/modulepanel.js
deleted file mode 100644 (file)
index 1836192..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-Ext.ns('TYPO3');
-
-TYPO3.modulePanel = Ext.extend(Ext.Panel, {
-       name: 'modulePanel',
-       maskMessage: ' ',
-       doMask: true,
-       border: false,
-               // component build
-       initComponent: function() {
-               Ext.apply(this, {
-                       tbarCfg: {
-                               cls: 't3skin-typo3-module-panel-toolbar'
-                       },
-                       bbarCfg: {
-                               cls: 't3skin-typo3-module-panel-toolbar'
-                       }
-               });
-               TYPO3.modulePanel.superclass.initComponent.apply(this, arguments);
-               this.addEvents('uriChanged');
-       },
-       setUrl: function(url) {
-               var paramsString;
-               var params;
-               this.url = url;
-               paramsString = url.split("?");
-               params = Ext.urlDecode(paramsString[paramsString.length - 1]);
-               this.fireEvent('uriChanged', params.id, url, params, this);
-       },
-       getUrl: function getUrl() {
-               return this.url;
-       }
-});
-Ext.reg('modulePanel', TYPO3.modulePanel);
index 3322189..cd1f5bd 100644 (file)
@@ -126,7 +126,6 @@ class BackendController {
                        'viewport' => 'js/extjs/viewport.js',
                        'iframepanel' => 'sysext/backend/Resources/Public/JavaScript/iframepanel.js',
                        'backendcontentiframe' => 'js/extjs/backendcontentiframe.js',
-                       'modulepanel' => 'js/extjs/modulepanel.js',
                        'viewportConfiguration' => 'js/extjs/viewportConfiguration.js',
                        'util' => 'sysext/backend/Resources/Public/JavaScript/util.js'
                );