mirror of https://github.com/apache/cloudstack.git
CS-15803: cloudstack 3.0 UI - VPC - fix a bug that root-admin failed to create a VM in a tier that belonged to regular-user or domain-admin.
This commit is contained in:
parent
1ced3fc287
commit
f32f55f7ac
|
|
@ -513,9 +513,12 @@
|
|||
if(checkedSecurityGroupIdArray.length > 0)
|
||||
array1.push("&securitygroupids=" + checkedSecurityGroupIdArray.join(","));
|
||||
}
|
||||
else if (step5ContainerType == 'nothing-to-select') {
|
||||
if(args.context.networks != null) //from VPC tier
|
||||
else if (step5ContainerType == 'nothing-to-select') {
|
||||
if(args.context.networks != null) { //from VPC tier
|
||||
array1.push("&networkIds=" + args.context.networks[0].id);
|
||||
array1.push("&domainid=" + args.context.vpc[0].domainid);
|
||||
array1.push("&account=" + args.context.vpc[0].account);
|
||||
}
|
||||
}
|
||||
|
||||
var displayname = args.data.displayname;
|
||||
|
|
|
|||
Loading…
Reference in New Issue