Skip to content

Commit af91a8a

Browse files
author
Jessica Wang
committed
CLOUDSTACK-3166: UI - VPC section - configure VPC - tier - STATIC NATS - fix a bug that listView showed nothing.
1 parent adeddc2 commit af91a8a

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎ui/scripts/vpc.js‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,11 @@
13971397
listView.listView.dataProvider = function(args) {
13981398
$.ajax({
13991399
url: createURL('listPublicIpAddresses'),
1400-
data: { networkid: args.context.networks[0].id, isstaticnat: true },
1400+
data: {
1401+
networkid: args.context.networks[0].id,
1402+
isstaticnat: true,
1403+
listall: true
1404+
},
14011405
success: function(json) {
14021406
args.response.success({
14031407
data: json.listpublicipaddressesresponse.publicipaddress
@@ -3498,7 +3502,10 @@
34983502
$.ajax({
34993503
url: createURL('listPublicIpAddresses'),
35003504
async: false,
3501-
data: { 'vpcid': args.context.vpc[0].id },
3505+
data: {
3506+
vpcid: args.context.vpc[0].id,
3507+
listAll: true
3508+
},
35023509
success: function(json) {
35033510
publicIpAddresses = json.listpublicipaddressesresponse;
35043511
},

0 commit comments

Comments
 (0)