You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2012/10/15 23:23:52 UTC

git commit: CLOUDSTACK-352: Fix user dashboard VM count

Updated Branches:
  refs/heads/master 1d458c7a2 -> f72434261


CLOUDSTACK-352: Fix user dashboard VM count

Pass listAll=true to user dashboard API call, so domain admin can see totals
for all user VMs.


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

Branch: refs/heads/master
Commit: f72434261cdef69766bccadd886939cbf9c31467
Parents: 1d458c7
Author: Brian Federle <br...@citrix.com>
Authored: Mon Oct 15 14:23:42 2012 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Oct 15 14:23:42 2012 -0700

----------------------------------------------------------------------
 ui/scripts/dashboard.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f7243426/ui/scripts/dashboard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/dashboard.js b/ui/scripts/dashboard.js
index ad67dff..5f49e61 100644
--- a/ui/scripts/dashboard.js
+++ b/ui/scripts/dashboard.js
@@ -31,6 +31,9 @@
           instances: function(data) {
             $.ajax({
               url: createURL('listVirtualMachines'),
+              data: {
+                listAll: true
+              },
               success: function(json) {
                 var instances = json.listvirtualmachinesresponse.virtualmachine ?
                   json.listvirtualmachinesresponse.virtualmachine : [];