CS-15967: Don't pass projectId=-1 to zone->guest networks list reviewed-by: jessica
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/00323f0e Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/00323f0e Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/00323f0e Branch: refs/heads/javelin Commit: 00323f0e5a914cc3f617ca99d3d6dac2ed234535 Parents: c0b9295 Author: Brian Federle <[email protected]> Authored: Thu Aug 23 13:15:00 2012 -0700 Committer: Brian Federle <[email protected]> Committed: Thu Aug 23 13:16:42 2012 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/00323f0e/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 015f491..41c7992 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) {
