mirror of https://github.com/apache/cloudstack.git
bug 12419
Fix context not being passed to infinite scrolling load, causing error status 12419: resolved fixed
This commit is contained in:
parent
25992be5e4
commit
1ea5c6466c
|
|
@ -1207,11 +1207,13 @@
|
|||
clearTimeout(infScrollTimer);
|
||||
infScrollTimer = setTimeout(function() {
|
||||
var loadMoreData = $listView.scrollTop() >= ($table.height() - $listView.height()) - $listView.height() / 4;
|
||||
|
||||
var context = $listView.data('view-args').context;
|
||||
|
||||
if (loadMoreData) {
|
||||
page = page + 1;
|
||||
|
||||
loadBody($table, listViewData.dataProvider, listViewData.fields, true, {
|
||||
context: context,
|
||||
page: page,
|
||||
filterBy: {
|
||||
search: {},
|
||||
|
|
|
|||
Loading…
Reference in New Issue