sync updates

This commit is contained in:
Luke Pulverenti 2015-01-23 01:15:15 -05:00
parent 2ab7e15656
commit 9b452f3b53
85 changed files with 421 additions and 505 deletions

View file

@ -31,7 +31,7 @@
var html = '';
var pagingHtml = LibraryBrowser.getQueryPagingHtml({
$('.listTopPaging', page).html(LibraryBrowser.getQueryPagingHtml({
startIndex: query.StartIndex,
limit: query.Limit,
totalRecordCount: result.TotalRecordCount,
@ -39,9 +39,7 @@
showLimit: false,
updatePageSizeSetting: false,
pageSizeKey: pageSizeKey
});
$('.listTopPaging', page).html(pagingHtml).trigger('create');
})).trigger('create');
updateFilterControls(page);
@ -55,9 +53,7 @@
lazy: true
});
html += pagingHtml;
$('#items', page).html(html).trigger('create');
$('#items', page).html(html).lazyChildren();
$('.btnNextPage', page).on('click', function () {
query.StartIndex += query.Limit;