mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - VPC - IP Addresses - not pass vpcid to API call if it's undefined.
This commit is contained in:
parent
970bdb3972
commit
4d5db13555
|
|
@ -1083,8 +1083,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
if("vpc" in args.context)
|
||||
array1.push("&vpcid=" + args.context.vpc[0].id);
|
||||
if("vpc" in args.context) {
|
||||
$.extend(data, {
|
||||
vpcid: args.context.vpc[0].id
|
||||
});
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: createURL("listPublicIpAddresses&listAll=true&page=" + args.page + "&pagesize=" + pageSize + array1.join("")),
|
||||
|
|
|
|||
Loading…
Reference in New Issue