From caadccaa3558aeae91eb68d650cb7c97d14d87ac Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Wed, 30 May 2012 08:13:55 -0700 Subject: [PATCH] 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 reviewed-by: jessica --- ui/scripts/system.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 48a48c78202..13c81cd3a88 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1350,11 +1350,6 @@ else if($form.find('.form-item[rel=projectId]').css("display") != "none") { //project-specific array1.push("&projectid=" + args.data.projectId); array1.push("&acltype=account"); - - if ($form.find('.form-item[rel=subdomainaccess]:visible input:checked').size()) - array1.push("&subdomainaccess=true"); - else - array1.push("&subdomainaccess=false"); } else { //domain-specific array1.push("&acltype=domain"); @@ -1758,7 +1753,7 @@ ], dataProvider: function(args) { $.ajax({ - url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed. + 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. dataType: "json", async: false, success: function(json) {