You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2014/01/08 22:48:14 UTC
git commit: updated refs/heads/master to 9a9de59
Updated Branches:
refs/heads/master 766dab64e -> 9a9de5983
CLOUDSTACK-5732: UI > Affinity Group > implement search, send keyword parameter to listAffinityGroups API.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9a9de598
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9a9de598
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9a9de598
Branch: refs/heads/master
Commit: 9a9de598361675f080516962bcca4fad2d0c3872
Parents: 766dab6
Author: Jessica Wang <je...@apache.org>
Authored: Wed Jan 8 13:46:08 2014 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Wed Jan 8 13:48:04 2014 -0800
----------------------------------------------------------------------
ui/scripts/affinity.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9a9de598/ui/scripts/affinity.js
----------------------------------------------------------------------
diff --git a/ui/scripts/affinity.js b/ui/scripts/affinity.js
index b0011ae..3f354cd 100644
--- a/ui/scripts/affinity.js
+++ b/ui/scripts/affinity.js
@@ -29,6 +29,7 @@
},
dataProvider: function(args) {
var data = {};
+ listViewDataProvider(args, data);
if (args.context != null) {
if ("instances" in args.context) {
$.extend(data, {
@@ -37,7 +38,7 @@
}
}
$.ajax({
- url: createURL('listAffinityGroups&listAll=true'),
+ url: createURL('listAffinityGroups'),
data: data,
success: function(json) {
var items = json.listaffinitygroupsresponse.affinitygroup;