Author: solomax
Date: Tue Jan  3 13:18:24 2017
New Revision: 1777119

URL: http://svn.apache.org/viewvc?rev=1777119&view=rev
Log:
no jira: white-spaces fixes, code clean-up

Modified:
    
openmeetings/application/branches/3.1.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
    
openmeetings/application/branches/3.2.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx

Modified: 
openmeetings/application/branches/3.1.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/application/branches/3.1.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx?rev=1777119&r1=1777118&r2=1777119&view=diff
==============================================================================
--- 
openmeetings/application/branches/3.1.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
 (original)
+++ 
openmeetings/application/branches/3.1.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
 Tue Jan  3 13:18:24 2017
@@ -7,38 +7,34 @@
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
-  
+
       http://www.apache.org/licenses/LICENSE-2.0
-         
+
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
-  
+
 -->
 <library>
-    
-       <class name="drawDocumentPanelItem" extends="blueButton" 
-                  width="26" height="26" 
-                  x_insetResource="2" y_insetResource="2"
-                  width_insetResource="22" height_insetResource="22">
-               
+       <class name="drawDocumentPanelItem" extends="blueButton" width="26" 
height="26"
+                       x_insetResource="2" y_insetResource="2" 
width_insetResource="22" height_insetResource="22">
                <attribute name="modi" value="" type="string" />
                <attribute name="labelid" value="0" type="number" />
-               
+
                <handler name="onclick">
-                       //if ($debug) Debug.write("parent.parent.parent.parent: 
",parent.parent.parent.parent);
-                       if (parent.parent.parent.ignoreUpdates) {
-                   return;
-               }
-               
parent.parent.parent.parent._drawareaMask._drawarea.setCurrentDocumentByToolBar(parent.parent.currentDocument.getValue());
-               
parent.parent.parent.parent._drawareaMask._drawarea.doDocumentAction(this.modi);
+                       var docToolbar = canvas._drawarea.getDocumentToolBar();
+                       //if ($debug) Debug.write("docToolbar.parent.parent: ", 
docToolbar.parent.parent);
+                       if (docToolbar.parent.parent.ignoreUpdates) {
+                               return;
+                       }
+                       
canvas._drawarea.setCurrentDocumentByToolBar(parent.parent.currentDocument.getValue());
+                       canvas._drawarea.doDocumentAction(this.modi);
                </handler>
-               
+
                <labelTooltip name="__labeltooltip" labelid="$once{ 
parent.labelid }" />
-           
-       </class>    
+       </class>
+</library>
 
-</library>
\ No newline at end of file

Modified: 
openmeetings/application/branches/3.2.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/application/branches/3.2.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx?rev=1777119&r1=1777118&r2=1777119&view=diff
==============================================================================
--- 
openmeetings/application/branches/3.2.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
 (original)
+++ 
openmeetings/application/branches/3.2.x/openmeetings-flash/src/main/swf/modules/conference/whiteboard/panels/propertypanel/drawDocumentPanelItem.lzx
 Tue Jan  3 13:18:24 2017
@@ -7,38 +7,34 @@
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
-  
+
       http://www.apache.org/licenses/LICENSE-2.0
-         
+
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
-  
+
 -->
 <library>
-    
-       <class name="drawDocumentPanelItem" extends="blueButton" 
-                  width="26" height="26" 
-                  x_insetResource="2" y_insetResource="2"
-                  width_insetResource="22" height_insetResource="22">
-               
+       <class name="drawDocumentPanelItem" extends="blueButton" width="26" 
height="26"
+                       x_insetResource="2" y_insetResource="2" 
width_insetResource="22" height_insetResource="22">
                <attribute name="modi" value="" type="string" />
                <attribute name="labelid" value="0" type="number" />
-               
+
                <handler name="onclick">
-                       //if ($debug) Debug.write("parent.parent.parent.parent: 
",parent.parent.parent.parent);
-                       if (parent.parent.parent.ignoreUpdates) {
-                   return;
-               }
-               
parent.parent.parent.parent._drawareaMask._drawarea.setCurrentDocumentByToolBar(parent.parent.currentDocument.getValue());
-               
parent.parent.parent.parent._drawareaMask._drawarea.doDocumentAction(this.modi);
+                       var docToolbar = canvas._drawarea.getDocumentToolBar();
+                       //if ($debug) Debug.write("docToolbar.parent.parent: ", 
docToolbar.parent.parent);
+                       if (docToolbar.parent.parent.ignoreUpdates) {
+                               return;
+                       }
+                       
canvas._drawarea.setCurrentDocumentByToolBar(parent.parent.currentDocument.getValue());
+                       canvas._drawarea.doDocumentAction(this.modi);
                </handler>
-               
+
                <labelTooltip name="__labeltooltip" labelid="$once{ 
parent.labelid }" />
-           
-       </class>    
+       </class>
+</library>
 
-</library>
\ No newline at end of file


Reply via email to