mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API even id parameter is passed.
This commit is contained in:
parent
32c295aa6c
commit
db489d018a
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue