commit | f8370299ede1930f32fab48be3f4dc8b6341d671 | [log] [tgz] |
---|---|---|
author | Valentin Valchev <vvalchev@apache.org> | Mon Jul 14 12:38:23 2014 +0000 |
committer | Valentin Valchev <vvalchev@apache.org> | Mon Jul 14 12:38:23 2014 +0000 |
tree | 927a7843fcb5bfc4b0d0a53c8db5d8a591f2032a | |
parent | 8381de003289927e53082a2a90826799329d5594 [diff] |
Fixed FELIX-4558 : Web Console Service plugin doesn't list properties with value 0 https://issues.apache.org/jira/browse/FELIX-4558 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1610403 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/services.js b/webconsole/src/main/resources/res/ui/services.js index 531c600..fe4b29f 100644 --- a/webconsole/src/main/resources/res/ui/services.js +++ b/webconsole/src/main/resources/res/ui/services.js
@@ -102,7 +102,7 @@ txt += '<tr><td class="aligntop" noWrap="true" style="border:0px none">' + prop.key + '</td><td class="aligntop" style="border:0px none">'; - if (prop.value) { + if (typeof prop.value !== 'undefined') { if ($.isArray(prop.value)) { var i = 0; for ( var pi in prop.value) {