diff options
author | Rafal Szczesniak <mimir@samba.org> | 2007-04-24 09:10:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:34 -0500 |
commit | a07fb56da4c15c0eea8949602b53d3b8dcc09614 (patch) | |
tree | 8d5286a048510b18365f624d04c4c56defe92c48 /webapps | |
parent | 5d2daefcf27eeb8fa74b90a0cdf91932ce58e16e (diff) | |
download | samba-a07fb56da4c15c0eea8949602b53d3b8dcc09614.tar.gz samba-a07fb56da4c15c0eea8949602b53d3b8dcc09614.tar.bz2 samba-a07fb56da4c15c0eea8949602b53d3b8dcc09614.zip |
r22500: there's a better way to find out if there are any children
rafal
(This used to be commit ebc67bc0ae71662e9adef23838a8c7b632bf4ea2)
Diffstat (limited to 'webapps')
-rw-r--r-- | webapps/swat/source/class/swat/module/netmgr/Gui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapps/swat/source/class/swat/module/netmgr/Gui.js b/webapps/swat/source/class/swat/module/netmgr/Gui.js index 8f9f664a74..ee366e69a5 100644 --- a/webapps/swat/source/class/swat/module/netmgr/Gui.js +++ b/webapps/swat/source/class/swat/module/netmgr/Gui.js @@ -215,8 +215,8 @@ qx.Proto.getParentNode = function(module, node) 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(); } |