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:44:23 -08:00
parent dd3707b630
commit 89af00eaee

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) {