From 89af00eaee16bf0e516bd75e9f981cc1e6819145 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 8 Mar 2012 14:44:23 -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 60cd7c165c1..b0dee6e0ad8 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) {