[TASK] EM: move "upload t3x" to tab Remote Repository
authorXavier Perseguers <xavier@typo3.org>
Sat, 10 Sep 2011 09:00:36 +0000 (11:00 +0200)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sat, 17 Sep 2011 18:46:24 +0000 (20:46 +0200)
In an attempt to have the Remote Repository tab become a place to
search and install new extensions, the tiny upload .t3x icon next
to the filter textbox in "Local Extension List" should be moved.

Change-Id: I198dc95ecd8dcd953f699428d7118a9670d6b277
Resolves: #29587
Releases: 4.6
Reviewed-on: http://review.typo3.org/4893
Tested-by: Soren Malling
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/em/res/js/em_locallist.js
typo3/sysext/em/res/js/em_repositorylist.js

index 773c116..2aafcdd 100644 (file)
@@ -568,16 +568,6 @@ TYPO3.EM.LocalList = Ext.extend(Ext.grid.GridPanel, {
                                        scope: this,
                                        hidden: true
                                },
-                               '-',
-                               {
-                                       iconCls: 't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-upload',
-                                       tooltip: TYPO3.l10n.localize('upload_ext_directly'),
-                                       ref: '../uploadButton',
-                                       handler: function() {
-                                               TYPO3.EM.Tools.uploadExtension();
-                                       },
-                                       scope: this
-                               },
                                '->',
                                {
                                        xtype: 'tbtext',
index 88ab1f1..d4d1a44 100644 (file)
@@ -263,6 +263,17 @@ TYPO3.EM.RepositoryList = Ext.extend(Ext.grid.GridPanel, {
                                        scope: this,
                                        hidden: true
                                },
+                               '-',
+                               {
+                                       iconCls: 't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-upload',
+                                       tooltip: TYPO3.l10n.localize('upload_ext_directly'),
+                                       ref: '../uploadButton',
+                                       handler: function() {
+                                               TYPO3.EM.Tools.uploadExtension();
+                                       },
+                                       scope: this
+                               },
+                               '-',
                                '->',
                                {
                                        xtype: 'tbtext',
@@ -412,4 +423,4 @@ TYPO3.EM.RepositoryList = Ext.extend(Ext.grid.GridPanel, {
        }
 });
 
-Ext.reg('remoteextlist', TYPO3.EM.RepositoryList);
\ No newline at end of file
+Ext.reg('remoteextlist', TYPO3.EM.RepositoryList);