Skip to content

Commit f86e9f9

Browse files
author
Jessica Wang
committed
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.
1 parent bab65c8 commit f86e9f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/scripts/network.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@
697697
],
698698
dataProvider: function(args) {
699699
$.ajax({
700-
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "listAll=true" for now until API is fixed.
700+
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed.
701701
data: { listAll: true },
702702
dataType: "json",
703703
async: true,

ui/scripts/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@
16841684
],
16851685
dataProvider: function(args) {
16861686
$.ajax({
1687-
url: createURL("listNetworks&id=" + args.context.networks[0].id),
1687+
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"), //pass "&listAll=true" to "listNetworks&id=xxxxxxxx" for now before API gets fixed.
16881688
dataType: "json",
16891689
async: false,
16901690
success: function(json) {

0 commit comments

Comments
 (0)