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/01 00:54:06 UTC

git commit: updated refs/heads/master to dc0420c

Updated Branches:
  refs/heads/master c99f0f925 -> dc0420c63


CLOUDSTACK-5698: UI > VPC > configure > Router > Network ACL Lists > implement search (i.e. pass keyword parameter to listNetworkACLLists API) when input field is not blank.


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

Branch: refs/heads/master
Commit: dc0420c633dd818f7d0f30cecab5d58035902db7
Parents: c99f0f9
Author: Jessica Wang <je...@apache.org>
Authored: Tue Dec 31 15:53:00 2013 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Tue Dec 31 15:53:51 2013 -0800

----------------------------------------------------------------------
 ui/scripts/vpc.js | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dc0420c6/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 9775f60..770ee9b 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1177,9 +1177,15 @@
                             label: 'id'
                         }
                     },
-                    dataProvider: function(args) {
+                    dataProvider: function(args) {                    	                  	
+                    	var data = {
+                    		vpcid: args.context.vpc[0].id
+                    	};                    	
+                        listViewDataProvider(args, data);
+                                            	
                         $.ajax({
-                            url: createURL('listNetworkACLLists&vpcid=' + args.context.vpc[0].id),
+                            url: createURL('listNetworkACLLists'),
+                            data: data,
                             success: function(json) {
                                 var items = json.listnetworkacllistsresponse.networkacllist;