You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by vv...@apache.org on 2014/07/14 14:38:23 UTC

svn commit: r1610403 - /felix/trunk/webconsole/src/main/resources/res/ui/services.js

Author: vvalchev
Date: Mon Jul 14 12:38:23 2014
New Revision: 1610403

URL: http://svn.apache.org/r1610403
Log:
Fixed FELIX-4558 : Web Console Service plugin doesn't list properties with value 0
https://issues.apache.org/jira/browse/FELIX-4558

Modified:
    felix/trunk/webconsole/src/main/resources/res/ui/services.js

Modified: felix/trunk/webconsole/src/main/resources/res/ui/services.js
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/resources/res/ui/services.js?rev=1610403&r1=1610402&r2=1610403&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/resources/res/ui/services.js (original)
+++ felix/trunk/webconsole/src/main/resources/res/ui/services.js Mon Jul 14 12:38:23 2014
@@ -102,7 +102,7 @@ function renderObjectAsTable(/* Object*/
 		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) {