mirror of https://github.com/apache/cloudstack.git
CS-14769: Don't pass subdomainaccess param when scope=project
This commit is contained in:
parent
49ffe7392e
commit
5117bba851
|
|
@ -1349,12 +1349,7 @@
|
|||
}
|
||||
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");
|
||||
array1.push("&acltype=account");
|
||||
}
|
||||
else { //domain-specific
|
||||
array1.push("&acltype=domain");
|
||||
|
|
|
|||
Loading…
Reference in New Issue