[TASK] EM: remove info icon in extension list
authorXavier Perseguers <xavier@typo3.org>
Fri, 9 Sep 2011 12:01:39 +0000 (14:01 +0200)
committerXavier Perseguers <xavier@typo3.org>
Fri, 9 Sep 2011 13:06:54 +0000 (15:06 +0200)
A blue info icon is shown next to the extension title when additional
information are configured to pop up as external window. This icon is
useless as clicking on the extension title shows the info window as well.

Change-Id: I239bd978220896742cddc0d0fe265859b11bdf3f
Resolves: #29589
Releases: 4.6
Reviewed-on: http://review.typo3.org/4879
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Steffen Ritter
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/em/res/js/em_components.js

index f788910..939c41d 100644 (file)
@@ -152,7 +152,7 @@ TYPO3.EM.GridColumns.DummyColumn = {
 
 TYPO3.EM.GridColumns.InstallExtension = {
        header: '',
-       width: 45,
+       width: 29,
        sortable: false,
        hideable: false,
        fixed: true,
@@ -199,26 +199,13 @@ TYPO3.EM.GridColumns.InstallExtension = {
                                        });
                                }
                        }
-               },
-               {
-                       hidden: (TYPO3.settings.EM.inlineToWindow == 0),
-                       getClass: function(value, meta, record) {
-                               meta.css += ' paddingActionIcon';
-                               if (TYPO3.settings.EM.inlineToWindow == 1) {
-                                       return 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-info';
-                               }
-                               return '';
-                       },
-                       handler: function(grid, rowIndex, colIndex) {
-                               grid.showExtInfoInWindow(rowIndex);
-                       }
                }
        ]
 };
 
 TYPO3.EM.GridColumns.ImportExtension = {
        header: '',
-       width: 45,
+       width: 29,
        sortable: false,
        fixed: true,
        groupable: false,
@@ -263,18 +250,6 @@ TYPO3.EM.GridColumns.ImportExtension = {
                                        Ext.getCmp('emInstallIframeWindow').setUrl(link);
                                });
                        }
-               },
-               {
-                       getClass: function(value, meta, record) {
-                               meta.css += ' paddingActionIcon';
-                               if (TYPO3.settings.EM.inlineToWindow == 1) {
-                                       return 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-info';
-                               }
-                               return '';
-                       },
-                       handler: function(grid, rowIndex, colIndex) {
-                               grid.showExtInfoInWindow(rowIndex);
-                       }
                }
        ]
 };