mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - infrastructure page - guest traffic type - network tab - fix a bug that clicking a network that doesn't belong to current login user would show spinning wheel forever in detailView.
This commit is contained in:
parent
37007f8071
commit
21ebf03ea1
|
|
@ -697,7 +697,7 @@
|
|||
],
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "listAll=true" for now until API is 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.
|
||||
data: { listAll: true },
|
||||
dataType: "json",
|
||||
async: true,
|
||||
|
|
|
|||
|
|
@ -1684,7 +1684,7 @@
|
|||
],
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listNetworks&id=" + args.context.networks[0].id),
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue