Skip to content

Commit ca1e5c1

Browse files
committed
ui: list all networks
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 666f752 commit ca1e5c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui/scripts/network.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
// Add primary IP as default
101101
ipSelection.push({
102-
id: -1,
102+
id: primaryIp,
103103
description: primaryIp + ' (Primary)'
104104
});
105105

@@ -921,7 +921,7 @@
921921

922922
var oldcidr;
923923
$.ajax({
924-
url: createURL("listNetworks&id=" + args.context.networks[0].id),
924+
url: createURL("listNetworks&id=" + args.context.networks[0].id + "&listAll=true"),
925925
dataType: "json",
926926
async: false,
927927
success: function(json) {

0 commit comments

Comments
 (0)