mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Pager widget initializes properly. Fixes #510
This commit is contained in:
parent
556bcc2d48
commit
4e80bc9753
@ -194,12 +194,10 @@ tsp = ts.pager = {
|
|||||||
tsp.bindEvents(table, c);
|
tsp.bindEvents(table, c);
|
||||||
|
|
||||||
// pager initialized
|
// pager initialized
|
||||||
if (!p.ajax) {
|
p.initialized = true;
|
||||||
p.initialized = true;
|
p.isInitializing = false;
|
||||||
p.isInitializing = false;
|
tsp.setPageSize(table, 0, c); // page size 0 is ignored
|
||||||
tsp.setPageSize(table, 0, c); // page size 0 is ignored
|
c.$table.trigger('pagerInitialized', c);
|
||||||
c.$table.trigger('pagerInitialized', c);
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user