Author: sebawagner
Date: Fri Apr 13 10:16:02 2012
New Revision: 1325707

URL: http://svn.apache.org/viewvc?rev=1325707&view=rev
Log:
Fix not referencing icon state in tab buttons

Modified:
    
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/dashboard/tabButtonMain.lzx

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/dashboard/tabButtonMain.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/dashboard/tabButtonMain.lzx?rev=1325707&r1=1325706&r2=1325707&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/dashboard/tabButtonMain.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/dashboard/tabButtonMain.lzx
 Fri Apr 13 10:16:02 2012
@@ -67,7 +67,7 @@
                this._bg2.setAttribute("visibility","hidden");
                this._text.setAttribute("fontstyle","bold");
                this._text.setAttribute("y",6);
-               this._icon.setAttribute("y",6);
+               if (this.showIcon) this._icon.setAttribute("y",6);
                
this._text.setAttribute("fgcolor",canvas.getThemeColor('menuTextColor'));
        </method>
      
@@ -77,7 +77,7 @@
         this._selectedView.setAttribute("visibility","hidden");
         this._deselectedView.setAttribute("visibility","visible");
         this._text.setAttribute("y",8);
-        this._icon.setAttribute("y",8);
+        if (this.showIcon) this._icon.setAttribute("y",8);
         this._text.setAttribute("fontstyle","plain");
         
this._text.setAttribute("fgcolor",canvas.getThemeColor('menuTextDisabledColor'));
     </method>       


Reply via email to