mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-555:Uncaught TypeError: Cannot read property 0 of undefined in UI while navigating to ipAddresses section under VPC
This commit is contained in:
parent
fb9c62ff1c
commit
936f84bb7b
|
|
@ -1266,12 +1266,12 @@
|
|||
var dataObj = {};
|
||||
if('vpc' in args.context) { //from VPC section
|
||||
$.extend(dataObj, {
|
||||
vpcid: args.context.vpc[0].id
|
||||
id: args.context.vpc[0].zoneid
|
||||
});
|
||||
}
|
||||
else if('networks' in args.context) { //from Guest Network section
|
||||
$.extend(dataObj, {
|
||||
networkid: args.context.networks[0].id
|
||||
id: args.context.networks[0].zoneid
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue