commit | b8468aa5adc38dd5e7642bf8d31ae964bebffb76 | [log] [tgz] |
---|---|---|
author | Valentin Valchev <vvalchev@apache.org> | Mon Mar 22 14:42:02 2010 +0000 |
committer | Valentin Valchev <vvalchev@apache.org> | Mon Mar 22 14:42:02 2010 +0000 |
tree | 6bac19c8bc81f380876134e4e90b76a1aa810f9e | |
parent | 9b5df5fbbbaabe6eed01d415603466abba19e1a4 [diff] |
fixed a problem with children not added to the tree git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@926107 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/upnp/src/main/resources/res/upnp.js b/webconsole-plugins/upnp/src/main/resources/res/upnp.js index 8899f7d..cf8432d 100644 --- a/webconsole-plugins/upnp/src/main/resources/res/upnp.js +++ b/webconsole-plugins/upnp/src/main/resources/res/upnp.js
@@ -95,6 +95,7 @@ var node = treeNode(udn, name, icon, 'lightbulb').click(function() { renderDevice(device); + return false; }); var ul, hasChildren; @@ -113,7 +114,7 @@ ul = $(createElement('ul')); for(var i in device.children) { hasChildren = true; - addDevice(device.children[i]); + ul.append( addDevice(device.children[i]) ); } if (hasChildren) node.append(ul);