cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/ui-vpc-redesign to 9fff2c4
Date Tue, 21 May 2013 19:54:09 GMT
Updated Branches:
  refs/heads/ui-vpc-redesign 451c83c99 -> 9fff2c4a6


Add VM total to dashboard


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

Branch: refs/heads/ui-vpc-redesign
Commit: 9fff2c4a666cfb0a330c4385812584c91fa49188
Parents: 451c83c
Author: Brian Federle <bfederle@gmail.com>
Authored: Tue May 21 12:54:07 2013 -0700
Committer: Brian Federle <bfederle@gmail.com>
Committed: Tue May 21 12:54:07 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9fff2c4a/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index fa5c0a5..9cef91a 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -3080,7 +3080,7 @@
                     {
                       id: 'tierVMs',
                       name: 'Virtual Machines',
-                      total: 0
+                      total: $.isArray(tier.virtualMachines) ? tier.virtualMachines.length
: 0
                     }
                   ]
                 });


Mime
View raw message