cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/4.3 to 8f7ace4
Date Tue, 17 Dec 2013 22:16:27 GMT
Updated Branches:
  refs/heads/4.3 35afd012f -> 8f7ace44b


CLOUDSTACK-5486: UI > tags > listXXXXXXX API now returns tags property. So, use tags
property in embedded object returned by listXXXXXXX API to populate tags in detailView in
all pages (instead of calling extra API listTags).


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8f7ace44
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8f7ace44
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8f7ace44

Branch: refs/heads/4.3
Commit: 8f7ace44b39b7af59127b74bc53373d26c5e9a80
Parents: 35afd01
Author: Jessica Wang <jessicawang@apache.org>
Authored: Tue Dec 17 14:16:08 2013 -0800
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Tue Dec 17 14:16:17 2013 -0800

----------------------------------------------------------------------
 ui/scripts/sharedFunctions.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8f7ace44/ui/scripts/sharedFunctions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/sharedFunctions.js b/ui/scripts/sharedFunctions.js
index 2425c5b..66eaf7a 100644
--- a/ui/scripts/sharedFunctions.js
+++ b/ui/scripts/sharedFunctions.js
@@ -2066,6 +2066,11 @@ cloudStack.api = {
                 }
             },
             dataProvider: function(args) {
+            	args.response.success({
+                    data: args.jsonObj.tags
+                });
+            	
+            	/*
                 var resourceId = args.context[contextId][0].id;
                 var data = {
                     resourceId: resourceId,
@@ -2096,6 +2101,7 @@ cloudStack.api = {
                         args.response.error(parseXMLHttpResponse(json));
                     }
                 });
+                */
             }
         };
     }


Mime
View raw message