bug 14196: infrastructure page - add guest network - pass subdomainaccess=false to API when Subdomain Access is unchecked.

This commit is contained in:
Jessica Wang 2012-03-08 14:43:20 -08:00
parent 56d611c3cc
commit faf1cf2639
1 changed files with 5 additions and 2 deletions

View File

@ -1210,7 +1210,10 @@
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");
@ -1467,7 +1470,7 @@
}
},
'delete': {
'remove': {
label: 'label.action.delete.network',
messages: {
confirm: function(args) {