From 4e80c3dbb4eab4e0f59efeac433f7e30059b96d8 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 24 Jun 2013 16:33:56 -0700 Subject: [PATCH] CLOUDSTACK-3166: UI - VPC section - configure VPC - tier - STATIC NATS - fix a bug that listView showed nothing. --- ui/scripts/vpc.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index 759364ded1a..773409f6a01 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; },