You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2012/09/14 20:21:01 UTC
[19/31] git commit: CS-16328:UI not calling the listCapacity correctly
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/javelin
Commit: 125a6fe065f128ddcfc85028a6e3052e80e01a6c
Parents: 330c89c
Author: Pranav Saxena <pr...@citrix.com>
Authored: Thu Sep 13 17:55:38 2012 +0530
Committer: Brian Federle <br...@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