bug 12419

Fix context not being passed to infinite scrolling load, causing error

status 12419: resolved fixed
This commit is contained in:
Brian Federle 2011-12-13 11:21:03 -08:00
parent 25992be5e4
commit 1ea5c6466c
1 changed files with 3 additions and 1 deletions

View File

@ -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: {},