cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API even id parameter is passed.

This commit is contained in:
Jessica Wang 2012-08-01 16:45:32 -07:00
parent 32c295aa6c
commit db489d018a
1 changed files with 2 additions and 1 deletions

View File

@ -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];