CLOUDSTACK-9335: fix typo in dashboard's fetchlatest usage

This fixes a typographical error in UI that did not previously send fetchLatest
flag in the listCapacity API request.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2016-04-04 12:53:45 +05:30
parent f960725dd5
commit 24abba62ab

View File

@ -184,9 +184,9 @@
},
capacity: function(data) {
if (window.fetchLatestflag == 1) {
data.fetchLastest = true;
data.fetchLatest = true;
} else {
data.fetchLastest = false;
data.fetchLatest = false;
}
window.fetchLatestflag = 0;
dataFns.alerts(data);