diff --git a/addons/pager/jquery.tablesorter.pager.js b/addons/pager/jquery.tablesorter.pager.js index 4480d756..edc61fdb 100644 --- a/addons/pager/jquery.tablesorter.pager.js +++ b/addons/pager/jquery.tablesorter.pager.js @@ -300,6 +300,7 @@ fixHeight(table, p); if (p.initialized) { $t.trigger('pagerChange', p); + $t.trigger('updateComplete'); } } if (!p.initialized) { diff --git a/js/jquery.tablesorter.js b/js/jquery.tablesorter.js index 9dd923be..dfd6d757 100644 --- a/js/jquery.tablesorter.js +++ b/js/jquery.tablesorter.js @@ -664,7 +664,10 @@ } function resortComplete($table, callback){ - $table.trigger('updateComplete'); + var c = $table[0].config; + if (c.pager && !c.pager.ajax) { + $table.trigger('updateComplete'); + } if (typeof callback === "function") { callback($table[0]); }