[UI] Private Cloud VPC always shows 0 in Site-to-Site VPN, even when one is configured

This commit is contained in:
Wei Zhou 2015-11-04 13:29:06 +01:00
parent 0cdca3137f
commit eccdf4f1fb

View File

@ -2682,6 +2682,7 @@
$.ajax({
url: createURL("listVpnGateways"),
data: {
listAll: true,
id: args.context.vpnGateway[0].id
},
async: true,
@ -2804,6 +2805,7 @@
$.ajax({
url: createURL('listVpnGateways'),
data: {
listAll: true,
vpcid: args.context.vpc[0].id
},
async: false,
@ -4187,6 +4189,7 @@
url: createURL('listVpnGateways'),
async: false,
data: {
listAll: true,
'vpcid': args.context.vpc[0].id
},
success: function(json) {