Author: mimir Date: 2007-04-24 09:35:55 +0000 (Tue, 24 Apr 2007) New Revision: 22501
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22501 Log: dispatching events explicitly is not necessary. rafal Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdbBrowse.js branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/UsersView.js Changeset: Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdbBrowse.js =================================================================== --- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdbBrowse.js 2007-04-24 09:10:43 UTC (rev 22500) +++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse/LdbBrowse.js 2007-04-24 09:35:55 UTC (rev 22501) @@ -42,7 +42,6 @@ // 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); }; Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/UsersView.js =================================================================== --- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/UsersView.js 2007-04-24 09:10:43 UTC (rev 22500) +++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/UsersView.js 2007-04-24 09:35:55 UTC (rev 22501) @@ -69,7 +69,6 @@ // 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" }};