commit | 2e894add8bde678e090bafff6cc24dded9682593 | [log] [tgz] |
---|---|---|
author | Valentin Pavlov Valchev <vvalchev@apache.org> | Mon Mar 22 14:42:02 2010 +0000 |
committer | Valentin Pavlov Valchev <vvalchev@apache.org> | Mon Mar 22 14:42:02 2010 +0000 |
tree | 6bac19c8bc81f380876134e4e90b76a1aa810f9e | |
parent | dd973af2e431ead7d62a0ef5f1e4d7a65a43ab10 [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);