cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/2] git commit: updated refs/heads/4.5 to 221e429
Date Thu, 26 Mar 2015 07:16:38 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.5 666f75287 -> 221e429b4


ui: list all networks

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ca1e5c16
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ca1e5c16
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ca1e5c16

Branch: refs/heads/4.5
Commit: ca1e5c16906ebcccba8fd382239659d9083c4178
Parents: 666f752
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Mar 26 12:45:16 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Mar 26 12:45:16 2015 +0530

----------------------------------------------------------------------
 ui/scripts/network.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ca1e5c16/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 53c9d86..dd0a71d 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -99,7 +99,7 @@
 	
 	                // Add primary IP as default
 	                ipSelection.push({
-	                    id: -1,
+	                    id: primaryIp,
 	                    description: primaryIp + ' (Primary)'
 	                });
 	
@@ -921,7 +921,7 @@
 
                                     var oldcidr;
                                     $.ajax({
-                                        url: createURL("listNetworks&id=" + args.context.networks[0].id),
+                                        url: createURL("listNetworks&id=" + args.context.networks[0].id
+ "&listAll=true"),
                                         dataType: "json",
                                         async: false,
                                         success: function(json) {


Mime
View raw message