summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2007-03-13 02:54:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:30 -0500
commit0f08bc3ab5a728798a10327c13e688cd30a02f26 (patch)
tree0224e2e0c02e83c33df3561ec28678c8681cca12
parent3330a53acc602ee64fef77608a4dfb8774ea3151 (diff)
downloadsamba-0f08bc3ab5a728798a10327c13e688cd30a02f26.tar.gz
samba-0f08bc3ab5a728798a10327c13e688cd30a02f26.tar.bz2
samba-0f08bc3ab5a728798a10327c13e688cd30a02f26.zip
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)
-rw-r--r--webapps/swat/source/class/swat/module/netmgr/Fsm.js6
1 files 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",