Author: solomax
Date: Thu Feb 23 12:39:23 2012
New Revision: 1292765

URL: http://svn.apache.org/viewvc?rev=1292765&view=rev
Log:
Whiteboard room index is displayed instead of id

Modified:
    
incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx?rev=1292765&r1=1292764&r2=1292765&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/plugins/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx
 Thu Feb 23 12:39:23 2012
@@ -78,7 +78,7 @@
     
 <class name="fixedFileExplorerWhiteboardPanel" 
extends="basePropertyPanelWhiteboard" 
           labelid="615" visible="${((canvas.currentRoomObj.hideWhiteboard) ? 
false:true)}">
-       
+       <attribute name="whiteboardCount" value="0" type="number" />    
        <!--
        
         -->
@@ -128,11 +128,13 @@
                                                                        });
        var tempWidth = this._bar.getCurrentSize();
        
+       var whiteboardName = canvas.getLabelName(615) + (whiteboardCount > 0 ? 
" " + whiteboardCount : "");
+       whiteboardCount++;
        var tWhiteboardBtn = new lz.whiteboardMiniButton(this._bar,{
                                   objRef:whiteboard,
                                   width:tempWidth,
                                   isactive:true,
-                                  btnName:canvas.getLabelName(615)+" 
"+whiteboardId
+                                  btnName: whiteboardName
                                });
         
         this._bar.currentBtn = tWhiteboardBtn;                         


Reply via email to