From db489d018ad67ade0e3f2094f376e34166de3b49 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 1 Aug 2012 16:45:32 -0700 Subject: [PATCH] cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API even id parameter is passed. --- ui/scripts/network.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index b7d6a99ba18..6cfcf7e6960 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -843,7 +843,8 @@ dataProvider: function(args) { $.ajax({ url: createURL("listNetworks&id=" + args.context.networks[0].id), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed. - dataType: "json", + data: { listAll: true }, + dataType: "json", async: true, success: function(json) { var jsonObj = json.listnetworksresponse.network[0];