update pager widget with change from #548

This commit is contained in:
Mottie 2014-03-18 17:40:03 -05:00
parent 6bdf91c48c
commit fcd56c6c23

View File

@ -733,6 +733,7 @@ tsp = ts.pager = {
$.data(table, 'pagerLastPage', p.page);
$.data(table, 'pagerLastSize', p.size);
p.totalPages = Math.ceil( p.totalRows / p.size );
p.filteredPages = Math.ceil( p.filteredRows / p.size );
tsp.moveToPage(table, p);
},