cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [2/2] git commit: CS-16328:UI not calling the listCapacity correctly
Date Thu, 13 Sep 2012 21:21:59 GMT
CS-16328:UI not calling the listCapacity correctly


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

Branch: refs/heads/master
Commit: 125a6fe065f128ddcfc85028a6e3052e80e01a6c
Parents: 330c89c
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Thu Sep 13 17:55:38 2012 +0530
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Thu Sep 13 14:21:52 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/125a6fe0/ui/scripts/dashboard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/dashboard.js b/ui/scripts/dashboard.js
index 7b21b0b..ad67dff 100644
--- a/ui/scripts/dashboard.js
+++ b/ui/scripts/dashboard.js
@@ -143,6 +143,7 @@
            if(window.fetchLatestflag == 1)
            {
               latestData = {
+
                   fetchLatest:true
                  }
             }
@@ -150,10 +151,9 @@
             {
               latestData = {
                 fetchLatest:false
-               }
+               }         
             }
-            window.fetchLatestflag = 0;
-
+	    window.fetchLatestflag = 0;          
             if (data.zones) {
               $.ajax({
                 url: createURL('listCapacity'),
@@ -258,7 +258,7 @@
             $.ajax({
               url: createURL('listCapacity'),
               data: {
-                fetchLatest: true,
+                fetchLatest: false,
                 sortBy: 'usage',
                 page: 0,
                 pagesize: 8


Mime
View raw message