Fixed pager showing "1" before loading collection
This commit is contained in:
parent
7e1234e448
commit
42e3559cb4
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ App.Presenters.PagedCollectionPresenter = function(
|
|||
}
|
||||
|
||||
function refreshPageList() {
|
||||
if (typeof(totalPages) === 'undefined') {
|
||||
return;
|
||||
}
|
||||
var pages = getVisiblePages();
|
||||
$pageList.empty();
|
||||
var lastPage = 0;
|
||||
|
|
Loading…
Reference in a new issue