svn commit: samba r22500 - in
branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr: .
mimir at samba.org
mimir at samba.org
Tue Apr 24 09:10:45 GMT 2007
Author: mimir
Date: 2007-04-24 09:10:43 +0000 (Tue, 24 Apr 2007)
New Revision: 22500
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22500
Log:
there's a better way to find out if there are any children
rafal
Modified:
branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js
Changeset:
Modified: branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js
===================================================================
--- branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js 2007-04-24 08:36:41 UTC (rev 22499)
+++ branches/SAMBA_4_0/webapps/swat/source/class/swat/module/netmgr/Gui.js 2007-04-24 09:10:43 UTC (rev 22500)
@@ -215,8 +215,8 @@
qx.Proto.openUserManager = function(module, domainName)
{
- // Remove existing panel if there is any
- if (this._panel.getChildrenLength() > 0)
+ // Remove existing panel if there is any - there can be only one at the time
+ if (this._panel.hasChildren())
{
this._panel.removeAll();
}
More information about the samba-cvs
mailing list