Skip to content

Commit a71915c

Browse files
author
Jessica Wang
committed
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).
1 parent 95364a4 commit a71915c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ui/scripts/sharedFunctions.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2066,6 +2066,11 @@ cloudStack.api = {
20662066
}
20672067
},
20682068
dataProvider: function(args) {
2069+
args.response.success({
2070+
data: args.jsonObj.tags
2071+
});
2072+
2073+
/*
20692074
var resourceId = args.context[contextId][0].id;
20702075
var data = {
20712076
resourceId: resourceId,
@@ -2096,6 +2101,7 @@ cloudStack.api = {
20962101
args.response.error(parseXMLHttpResponse(json));
20972102
}
20982103
});
2104+
*/
20992105
}
21002106
};
21012107
}

0 commit comments

Comments
 (0)