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);
|
fixHeight(table, p);
|
||||||
// apply widgets after table has rendered
|
// apply widgets after table has rendered
|
||||||
$t.trigger('applyWidgets');
|
$t.trigger('applyWidgets');
|
||||||
if (p.initialized) {
|
$t.trigger('update', [false, function(){
|
||||||
$t.trigger('pagerChange', p);
|
if (p.initialized) {
|
||||||
$t.trigger('updateComplete');
|
$t.trigger('updateComplete');
|
||||||
} else {
|
$t.trigger('pagerChange', p);
|
||||||
$t.trigger('update');
|
}
|
||||||
}
|
}]);
|
||||||
}
|
}
|
||||||
if (!p.initialized) {
|
if (!p.initialized) {
|
||||||
p.initialized = true;
|
p.initialized = true;
|
||||||
|
@ -516,12 +516,12 @@ tsp = ts.pager = {
|
|||||||
tsp.fixHeight(table, c);
|
tsp.fixHeight(table, c);
|
||||||
// apply widgets after table has rendered
|
// apply widgets after table has rendered
|
||||||
$t.trigger('applyWidgets');
|
$t.trigger('applyWidgets');
|
||||||
if (p.initialized) {
|
$t.trigger('update', [false, function(){
|
||||||
$t.trigger('pagerChange', c);
|
if (p.initialized) {
|
||||||
$t.trigger('updateComplete');
|
$t.trigger('updateComplete');
|
||||||
} else {
|
$t.trigger('pagerChange', p);
|
||||||
$t.trigger('update');
|
}
|
||||||
}
|
}]);
|
||||||
}
|
}
|
||||||
if (!p.initialized) {
|
if (!p.initialized) {
|
||||||
p.initialized = true;
|
p.initialized = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user