commit | 7f1492bd043098c1a6752f9b91cdecba45dc00ca | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Thu Apr 19 09:00:15 2012 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Thu Apr 19 09:00:15 2012 +0000 |
tree | 11d1e55555e9636d0b34d8290680869f934c8e0b | |
parent | a60af9172f20c592f27e430b2404426296035f8e [diff] |
FELIX-3469 Guard against undefined array element git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1327875 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/lib/support.js b/webconsole/src/main/resources/res/lib/support.js index 57f94f7..76857a5 100644 --- a/webconsole/src/main/resources/res/lib/support.js +++ b/webconsole/src/main/resources/res/lib/support.js
@@ -264,7 +264,9 @@ if (children && children.length) { for (var i=0; i < children.length; i++) { - element.appendChild( children[i] ); + if (children[i]) { + element.appendChild( children[i] ); + } } }