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:47:34 UTC

git commit: updated refs/heads/4.3 to 6b756c8

Updated Branches:
  refs/heads/4.3 44c73fdce -> 6b756c8b3


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/6b756c8b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6b756c8b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6b756c8b

Branch: refs/heads/4.3
Commit: 6b756c8b35b710b1dcfdf83013befceebdc4e8e2
Parents: 44c73fd
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:47:24 2014 -0800

----------------------------------------------------------------------
 ui/scripts/affinity.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6b756c8b/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;