mirror of https://github.com/apache/cloudstack.git
CS-16328:UI not calling the listCapacity correctly
This commit is contained in:
parent
330c89ce59
commit
125a6fe065
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue