Fixed bug #12405: The workspaces module does not work in Internet Explorer
authorpsychomieze <psychomieze@743128fe-103e-dd11-99c4-001b210b3e58>
Thu, 20 Jan 2011 15:16:04 +0000 (15:16 +0000)
committerpsychomieze <psychomieze@743128fe-103e-dd11-99c4-001b210b3e58>
Thu, 20 Jan 2011 15:16:04 +0000 (15:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/workspaces/trunk@3900 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/workspaces/ChangeLog
typo3/sysext/workspaces/Resources/Public/JavaScript/component.js

index d3404c3..6ba4138 100644 (file)
@@ -7,6 +7,7 @@
 2011-01-18  Susanne Moog <typo3@susanne-moog.de>
 
        * Fixed bug #11972: Switching workspaces with tabs causes module menu to loose its selection
+       * Fixed bug #12405: The workspaces module does not work in Internet Explorer
 
 2011-01-18  Sonja Scholz <ss@cabag.ch>
 
index 2ef0f0b..34522bf 100644 (file)
@@ -169,16 +169,16 @@ TYPO3.Workspaces.RowExpander = new Ext.grid.RowExpander({
        menuDisabled: true,
        hideable: false,
        getRowClass : function(record, rowIndex, p, ds) {
-               class = '';
+               cssClass = '';
                if (!record.json.allowedAction_nextStage && !record.json.allowedAction_prevStage) {
-                       class = 'typo3-workspaces-row-disabled ';
+                       cssClass = 'typo3-workspaces-row-disabled ';
                }
                if(this.state[record.id]) {
-                       class += 'x-grid3-row-expanded';
+                       cssClass += 'x-grid3-row-expanded';
                } else {
-                       class += 'x-grid3-row-collapsed';
+                       cssClass += 'x-grid3-row-collapsed';
                }
-               return class;
+               return cssClass;
        },
        remoteDataMethod : function (record, index) {
                TYPO3.Workspaces.RowDetail.rowDataStore.baseParams = {