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:53:20 UTC

git commit: updated refs/heads/4.3 to ea497b8

Updated Branches:
  refs/heads/4.3 a03c8fe66 -> ea497b815


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

Branch: refs/heads/4.3
Commit: ea497b815cb608e2646ba55178c5e864d62ef0a1
Parents: a03c8fe
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:09 2013 -0800

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


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