Updated Branches:
  refs/heads/master-6-17-stable 1ab0dcdd6 -> 4e80c3dbb


CLOUDSTACK-3166: UI - VPC section - configure VPC - tier - STATIC NATS - fix a 
bug that listView showed nothing.


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

Branch: refs/heads/master-6-17-stable
Commit: 4e80c3dbb4eab4e0f59efeac433f7e30059b96d8
Parents: 1ab0dcd
Author: Jessica Wang <jessicaw...@apache.org>
Authored: Mon Jun 24 16:33:56 2013 -0700
Committer: Jessica Wang <jessicaw...@apache.org>
Committed: Mon Jun 24 16:35:49 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4e80c3db/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 759364d..773409f 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -1397,7 +1397,11 @@
         listView.listView.dataProvider = function(args) {
           $.ajax({
             url: createURL('listPublicIpAddresses'),
-            data: { networkid: args.context.networks[0].id, isstaticnat: true 
},
+            data: { 
+              networkid: args.context.networks[0].id, 
+              isstaticnat: true,
+              listall: true
+            },
             success: function(json) {
               args.response.success({
                 data: json.listpublicipaddressesresponse.publicipaddress
@@ -3498,7 +3502,10 @@
             $.ajax({
               url: createURL('listPublicIpAddresses'),
               async: false,
-              data: { 'vpcid': args.context.vpc[0].id },
+              data: { 
+               vpcid: args.context.vpc[0].id,
+               listAll: true
+              },
               success: function(json) {
                 publicIpAddresses = json.listpublicipaddressesresponse;
               },

Reply via email to