mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 14425: cloudstack 3.0 UI - infrastructure page - create guest network - not pass subDomainAccess to createNetwork API when scope is Account.
This commit is contained in:
parent
ce8c58fda4
commit
7cb0351eaa
@ -1201,12 +1201,6 @@
|
||||
if($form.find('.form-item[rel=domainId]').css("display") != "none") {
|
||||
array1.push("&domainId=" + args.data.domainId);
|
||||
|
||||
if ($form.find('.form-item[rel=subdomainaccess]:visible input:checked').size()) {
|
||||
array1.push("&subdomainaccess=true");
|
||||
} else {
|
||||
array1.push("&subdomainaccess=false");
|
||||
}
|
||||
|
||||
if($form.find('.form-item[rel=account]').css("display") != "none") { //account-specific
|
||||
array1.push("&account=" + args.data.account);
|
||||
array1.push("&acltype=account");
|
||||
@ -1214,9 +1208,19 @@
|
||||
else if($form.find('.form-item[rel=projectId]').css("display") != "none") { //project-specific
|
||||
array1.push("&projectid=" + args.data.projectId);
|
||||
array1.push("&acltype=account");
|
||||
|
||||
if ($form.find('.form-item[rel=subdomainaccess]:visible input:checked').size())
|
||||
array1.push("&subdomainaccess=true");
|
||||
else
|
||||
array1.push("&subdomainaccess=false");
|
||||
}
|
||||
else { //domain-specific
|
||||
array1.push("&acltype=domain");
|
||||
array1.push("&acltype=domain");
|
||||
|
||||
if ($form.find('.form-item[rel=subdomainaccess]:visible input:checked').size())
|
||||
array1.push("&subdomainaccess=true");
|
||||
else
|
||||
array1.push("&subdomainaccess=false");
|
||||
}
|
||||
}
|
||||
else { //zone-wide
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user