don't show ID in the app tree, just show the entity name (where it matters the 
ID is usually in the name,
and where it doesn't matter it is ugly noise)


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

Branch: refs/heads/0.5.0
Commit: 2a60588d49ddeafb91f66216af80de0b2ca1ac9f
Parents: 359b468
Author: Alex Heneveld <[email protected]>
Authored: Tue Jan 22 00:37:54 2013 -0600
Committer: Alex Heneveld <[email protected]>
Committed: Tue Jan 22 00:39:12 2013 -0600

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


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/2a60588d/usage/jsgui/src/main/webapp/assets/js/model/app-tree.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/main/webapp/assets/js/model/app-tree.js 
b/usage/jsgui/src/main/webapp/assets/js/model/app-tree.js
index f72a782..2bd0226 100644
--- a/usage/jsgui/src/main/webapp/assets/js/model/app-tree.js
+++ b/usage/jsgui/src/main/webapp/assets/js/model/app-tree.js
@@ -13,7 +13,7 @@ define([
             }
         },
         getDisplayName:function () {
-            return this.get("name") + ":" + this.get("id")
+            return this.get("name") //+ ":" + this.get("id")
         },
         hasChildren:function () {
             return this.get("children").length > 0

Reply via email to