From faf1cf2639cce654be02fdd099e61adbef35efef Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 8 Mar 2012 14:43:20 -0800 Subject: [PATCH] bug 14196: infrastructure page - add guest network - pass subdomainaccess=false to API when Subdomain Access is unchecked. --- ui/scripts/system.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 97fd833aebe..bb02c0b7cf9 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -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) {