From 00323f0e5a914cc3f617ca99d3d6dac2ed234535 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 23 Aug 2012 13:15:00 -0700 Subject: [PATCH] CS-15967: Don't pass projectId=-1 to zone->guest networks list reviewed-by: jessica --- ui/scripts/system.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 015f491eafb..41c7992c856 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1462,7 +1462,7 @@ }); $.ajax({ - url: createURL("listNetworks&listAll=true&projectid=-1&trafficType=Guest&zoneId=" + selectedZoneObj.id + "&physicalnetworkid=" + selectedPhysicalNetworkObj.id + "&page=" + args.page + "&pagesize=" + pageSize + array1.join("")), + url: createURL("listNetworks&listAll=true&trafficType=Guest&zoneId=" + selectedZoneObj.id + "&physicalnetworkid=" + selectedPhysicalNetworkObj.id + "&page=" + args.page + "&pagesize=" + pageSize + array1.join("")), dataType: "json", async: false, success: function(json) { @@ -1786,7 +1786,7 @@ ], dataProvider: function(args) { $.ajax({ - 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. + url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed. dataType: "json", async: false, success: function(json) {