widgets update on pager change

This commit is contained in:
Rob Garrison 2012-05-04 10:45:16 -05:00
parent 1bd68598ac
commit 348a8da73b
6 changed files with 10 additions and 9 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
/*!
* tablesorter pager plugin
* updated 5/3/2012
* updated 5/4/2012
*/
;(function($) {
$.extend({tablesorterPager: new function() {
@ -124,7 +124,7 @@
},
hideRows = function(table, c){
var i, rows = $('tr:not(.' + table.config.cssChildRow + ')', table.tBodies[0]),
var i, rows = $('tr:not(.' + table.config.cssChildRow + ')', table.tBodies),
l = rows.length,
s = (c.page * c.size),
e = (s + c.size);
@ -250,6 +250,7 @@
}
updatePageDisplay(table, c);
if (!c.isDisabled) { fixHeight(table, c); }
$(table).trigger('applyWidgets');
},
showAllRows = function(table, c){

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
/*!
* TableSorter 2.2 - Client-side table sorting with ease!
* TableSorter 2.2.1 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
@ -18,7 +18,7 @@
$.extend({
tablesorter: new function() {
this.version = "2.2";
this.version = "2.2.1";
var parsers = [], widgets = [], tbl;
this.defaults = {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "tablesorter",
"version": "2.2",
"version": "2.2.1",
"title": "tablesorter",
"author": {
"name": "Christian Bach",