You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/17 11:26:23 UTC
[21/50] git commit: updated refs/heads/master to 3c429ee
Show all routers of a VPC
- For redundant VPCs, we should see 2 routers
- For single VPCs, we should see 1 router.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/05e4fe17
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/05e4fe17
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/05e4fe17
Branch: refs/heads/master
Commit: 05e4fe17e2a7d47c6b47f3f518859d9c087c06c6
Parents: 9e82281
Author: wilderrodrigues <wr...@schubergphilis.com>
Authored: Thu Feb 5 08:58:08 2015 +0100
Committer: wilderrodrigues <wr...@schubergphilis.com>
Committed: Mon Mar 16 11:39:59 2015 +0100
----------------------------------------------------------------------
ui/scripts/network.js | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/05e4fe17/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index e7ab5fc..33e85b8 100755
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -5777,12 +5777,14 @@
dataType: "json",
async: true,
success: function(json) {
- var item = json.listroutersresponse.router[0];
+ for (var i = 0; i < json.listroutersresponse.router.length; i++) {
+ var item = json.listroutersresponse.router[i];
- args.response.success({
- actionFilter: cloudStack.sections.system.routerActionFilter,
- data: item
- });
+ args.response.success({
+ actionFilter: cloudStack.sections.system.routerActionFilter,
+ data: item
+ });
+ }
}
});
}