You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2015/02/16 17:48:16 UTC
[35/50] [abbrv] git commit: updated
refs/heads/feature/systemvm-persistent-config to 8620642
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/c404e3f5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c404e3f5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c404e3f5
Branch: refs/heads/feature/systemvm-persistent-config
Commit: c404e3f550fdf1344cd3a71e0e949ef3cae0385b
Parents: abaf8c0
Author: wilderrodrigues <wr...@schubergphilis.com>
Authored: Thu Feb 5 08:58:08 2015 +0100
Committer: wilderrodrigues <wr...@schubergphilis.com>
Committed: Mon Feb 16 16:08:43 2015 +0100
----------------------------------------------------------------------
ui/scripts/network.js | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c404e3f5/ui/scripts/network.js
----------------------------------------------------------------------
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index 5a1d64c..265062e 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
+ });
+ }
}
});
}