From 0f08bc3ab5a728798a10327c13e688cd30a02f26 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Tue, 13 Mar 2007 02:54:06 +0000 Subject: r21809: - 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). (This used to be commit ab620c9554642f1289d6d0136fb104e475f22316) --- webapps/swat/source/class/swat/module/netmgr/Fsm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapps/swat/source/class/swat/module/netmgr/Fsm.js b/webapps/swat/source/class/swat/module/netmgr/Fsm.js index f8a8953db6..09e8316fef 100644 --- a/webapps/swat/source/class/swat/module/netmgr/Fsm.js +++ b/webapps/swat/source/class/swat/module/netmgr/Fsm.js @@ -61,8 +61,8 @@ qx.Proto.buildFsm = function(module) { "appear" : { - "tree" : - "Transition_Idle_to_AwaitRpcResult_via_tree_appear" + "swat.main.canvas" : + "Transition_Idle_to_AwaitRpcResult_via_canvas_appear" } } }); @@ -71,7 +71,7 @@ qx.Proto.buildFsm = function(module) 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", -- cgit