Pager: widget again updating on init properly

This commit is contained in:
Mottie 2014-11-03 14:44:08 -06:00
parent 12e9a25152
commit 98e3a41428

View File

@ -192,7 +192,6 @@ tsp = ts.pager = {
p.ajax = false;
// Regular pager; all rows stored in memory
c.$table.trigger("appendCache", [{}, true]);
tsp.hideRowsSetup(table, c);
}
},
@ -202,6 +201,10 @@ tsp = ts.pager = {
tsp.bindEvents(table, c);
tsp.setPageSize(table, 0, c); // page size 0 is ignored
if (!p.ajax) {
tsp.hideRowsSetup(table, c);
}
// pager initialized
p.initialized = true;
p.initializing = false;