mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
parent
5a1c22a349
commit
404567f533
@ -330,12 +330,12 @@
|
||||
fixHeight(table, p);
|
||||
// apply widgets after table has rendered
|
||||
$t.trigger('applyWidgets');
|
||||
if (p.initialized) {
|
||||
$t.trigger('pagerChange', p);
|
||||
$t.trigger('updateComplete');
|
||||
} else {
|
||||
$t.trigger('update');
|
||||
}
|
||||
$t.trigger('update', [false, function(){
|
||||
if (p.initialized) {
|
||||
$t.trigger('updateComplete');
|
||||
$t.trigger('pagerChange', p);
|
||||
}
|
||||
}]);
|
||||
}
|
||||
if (!p.initialized) {
|
||||
p.initialized = true;
|
||||
|
@ -516,12 +516,12 @@ tsp = ts.pager = {
|
||||
tsp.fixHeight(table, c);
|
||||
// apply widgets after table has rendered
|
||||
$t.trigger('applyWidgets');
|
||||
if (p.initialized) {
|
||||
$t.trigger('pagerChange', c);
|
||||
$t.trigger('updateComplete');
|
||||
} else {
|
||||
$t.trigger('update');
|
||||
}
|
||||
$t.trigger('update', [false, function(){
|
||||
if (p.initialized) {
|
||||
$t.trigger('updateComplete');
|
||||
$t.trigger('pagerChange', p);
|
||||
}
|
||||
}]);
|
||||
}
|
||||
if (!p.initialized) {
|
||||
p.initialized = true;
|
||||
|
Loading…
Reference in New Issue
Block a user