fix REST API access to child entities which implement Application (but aren't 
being used as Apps), and fix missing state created in gui


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

Branch: refs/heads/0.6.0
Commit: 6b3b88d07e2d6ca5736681d5ff309e65f9601fdb
Parents: 279f92c
Author: Alex Heneveld <[email protected]>
Authored: Wed Oct 2 23:40:21 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/6b3b88d0/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 76b3d5a..c925455 100644
--- a/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js
+++ b/usage/jsgui/src/main/webapp/assets/js/view/viewutils.js
@@ -468,7 +468,7 @@ define([
                 if (serviceUp==false) return 
PATH+"icon-status-running-onfire.png";
                 return PATH+"icon-status-running.png";
             }
-            if (lifecycleState=="stopped") {
+            if (lifecycleState=="stopped" || lifecycleState=="created") {
                 if (serviceUp==true) return 
PATH+"icon-status-stopped-onfire.png";
                 return PATH+"icon-status-stopped.png";
             }

Reply via email to