summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webapps/swat/source/class/swat/module/netmgr/Gui.js4
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();
}