Skip to content

Commit 1b54e70

Browse files
committed
CS-14769
-Don't pass subdomainaccess param when scope=project -Fix guest network detail view by passing projectid=-1, due to project details not returning response for project-level guest networks
1 parent 654accc commit 1b54e70

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ui/scripts/system.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -1350,11 +1350,6 @@
13501350
else if($form.find('.form-item[rel=projectId]').css("display") != "none") { //project-specific
13511351
array1.push("&projectid=" + args.data.projectId);
13521352
array1.push("&acltype=account");
1353-
1354-
if ($form.find('.form-item[rel=subdomainaccess]:visible input:checked').size())
1355-
array1.push("&subdomainaccess=true");
1356-
else
1357-
array1.push("&subdomainaccess=false");
13581353
}
13591354
else { //domain-specific
13601355
array1.push("&acltype=domain");
@@ -1758,7 +1753,7 @@
17581753
],
17591754
dataProvider: function(args) {
17601755
$.ajax({
1761-
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed.
1756+
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true" + "&projectid=-1"), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed.
17621757
dataType: "json",
17631758
async: false,
17641759
success: function(json) {

0 commit comments

Comments
 (0)