Author: sebawagner
Date: Tue Apr 24 17:35:02 2012
New Revision: 1329879

URL: http://svn.apache.org/viewvc?rev=1329879&view=rev
Log:
whiteboard box is not allowed to close when you click on header/title bar

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

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/basePropertyPanelWhiteboard.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/basePropertyPanelWhiteboard.lzx?rev=1329879&r1=1329878&r2=1329879&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/basePropertyPanelWhiteboard.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/basePropertyPanelWhiteboard.lzx
 Tue Apr 24 17:35:02 2012
@@ -35,6 +35,9 @@
        <attribute name="initheight" value="0" type="number" />
        
        <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+       
+       <!--- if the box is allowed to be minimized  -->
+       <attribute name="allowToggle" value="true" type="boolean" />    
                
        <method name="setLabelId" args="_labelid" >
                this.labelid = _labelid;
@@ -42,6 +45,9 @@
        </method>
        
        <method name="toggleopen">
+               if (!this.allowToggle) {
+                       return;
+               }
                ////Debug.write("this.isopen",this.isopen);
                this.setAttribute('isopen',!this.isopen);
                if (this.isopen){               

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx?rev=1329879&r1=1329878&r2=1329879&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/fixedFileExplorerWhiteboardPanel.lzx
 Tue Apr 24 17:35:02 2012
@@ -76,7 +76,7 @@
     
 </class>
     
-<class name="fixedFileExplorerWhiteboardPanel" 
extends="basePropertyPanelWhiteboard" 
+<class name="fixedFileExplorerWhiteboardPanel" 
extends="basePropertyPanelWhiteboard" allowToggle="false"
           labelid="615" visible="${((canvas.currentRoomObj.hideWhiteboard) ? 
false:true)}">
        <attribute name="whiteboardCount" value="0" type="number" />    
        <!--


Reply via email to