svn commit: samba r21809 - in branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr: .

derrell at samba.org derrell at samba.org
Tue Mar 13 02:54:07 GMT 2007


Author: derrell
Date: 2007-03-13 02:54:06 +0000 (Tue, 13 Mar 2007)
New Revision: 21809

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21809

Log:

- If the canvas is never initialized with the tree, the tree will never
  appear.  Now that the finite state machine properly ignores events from
  widgets which are not handled, the initialization of the tree should be done
  when the module's canvas appears (i.e. just after the canvas has had the
  module's gui applied to it).

Modified:
   branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Fsm.js


Changeset:
Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Fsm.js
===================================================================
--- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Fsm.js	2007-03-13 02:51:49 UTC (rev 21808)
+++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Fsm.js	2007-03-13 02:54:06 UTC (rev 21809)
@@ -61,8 +61,8 @@
         {
           "appear" :
           {
-            "tree" :
-              "Transition_Idle_to_AwaitRpcResult_via_tree_appear"
+            "swat.main.canvas" :
+              "Transition_Idle_to_AwaitRpcResult_via_canvas_appear"
           }
         }
     });
@@ -71,7 +71,7 @@
   fsm.replaceState(state, true);
 
   var trans = new qx.util.fsm.Transition(
-    "Transition_Idle_to_AwaitRpcResult_via_tree_appear",
+    "Transition_Idle_to_AwaitRpcResult_via_canvas_appear",
     {
       "nextState" : "State_AwaitRpcResult",
 		    



More information about the samba-cvs mailing list