r22501: dispatching events explicitly is not necessary.
authorRafal Szczesniak <mimir@samba.org>
Tue, 24 Apr 2007 09:35:55 +0000 (09:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:51:34 +0000 (14:51 -0500)
rafal
(This used to be commit 01b1b2b36b05b49a34becbbd20bb4abdc0e86d1e)

webapps/swat/source/class/swat/module/ldbbrowse/LdbBrowse.js
webapps/swat/source/class/swat/module/netmgr/UsersView.js

index 935eb18dcddbd147e80e88b211e60a332bb90d8e..7e3f96c8b51ab3918cbb97be4aae3d8ccea9e0b4 100644 (file)
@@ -42,7 +42,6 @@ qx.Proto.initialAppear = function(module)
   // Force the global database to be opened
   var dbName = module.fsm.getObject("dbName");
   dbName.setSelected(dbName.getList().getFirstChild());
-  dbName.dispatchEvent(new qx.event.type.Event("changeSelection"), true);
 };
 
 
index 2e87a27b4b18294ca164a5f4b7b8e5bf1f406baf..a54bbf570f5bc7a9e8d909e291b599f6f10c0e2c 100644 (file)
@@ -69,7 +69,6 @@ function(fsm, domainName)
 
   // Set default selection and dispatch the respective event to initialise the view
   cmbDomain.setSelected(selectedItem);
-  cmbDomain.dispatchEvent(new qx.event.type.Event("changeSelected"), true);
 
   // Create an empty list view with sample column
   this._columns = { username : { label: "Username", width: 150, type: "text" }};