mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Pager: widget again updating on init properly
This commit is contained in:
parent
12e9a25152
commit
98e3a41428
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user