Skip to content

Commit 89af00e

Browse files
author
Jessica Wang
committed
bug 14196: infrastructure page - add guest network - pass subdomainaccess=false to API when Subdomain Access is unchecked.
1 parent dd3707b commit 89af00e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎ui/scripts/system.js‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,10 @@
12101210

12111211
if ($form.find('.form-item[rel=subdomainaccess]:visible input:checked').size()) {
12121212
array1.push("&subdomainaccess=true");
1213-
}
1213+
} else {
1214+
array1.push("&subdomainaccess=false");
1215+
}
1216+
12141217
if($form.find('.form-item[rel=account]').css("display") != "none") { //account-specific
12151218
array1.push("&account=" + args.data.account);
12161219
array1.push("&acltype=account");
@@ -1467,7 +1470,7 @@
14671470
}
14681471
},
14691472

1470-
'delete': {
1473+
'remove': {
14711474
label: 'label.action.delete.network',
14721475
messages: {
14731476
confirm: function(args) {

0 commit comments

Comments
 (0)