another JS fix, trying to get serviceUp==null not to mean serviceUp==false !


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/33ae7c8b
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/33ae7c8b
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/33ae7c8b

Branch: refs/heads/0.6.0
Commit: 33ae7c8b35a08c3ecb0b85b8c0631b074aa14d55
Parents: 6b3b88d
Author: Alex Heneveld <[email protected]>
Authored: Thu Oct 3 08:04:38 2013 -0700
Committer: Alex Heneveld <[email protected]>
Committed: Tue Oct 8 13:16:12 2013 +0100

----------------------------------------------------------------------
 usage/jsgui/src/main/webapp/assets/js/view/viewutils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/33ae7c8b/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js 
b/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js
index c925455..2714f1c 100644
--- a/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js
+++ b/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js
@@ -453,7 +453,7 @@ define([
             }
         },
         computeStatusIcon: function(serviceUp, lifecycleState) {
-            if (serviceUp==false || serviceUp=="false") serviceUp=false;
+            if (serviceUp===false || serviceUp=="false") serviceUp=false;
             else if (serviceUp===true || serviceUp=="true") serviceUp=true;
             else {
                 if (serviceUp!=null && serviceUp !== "" && serviceUp !== 
undefined) {

Reply via email to