mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
widgets update on pager change
This commit is contained in:
parent
1bd68598ac
commit
348a8da73b
BIN
README.markdown
BIN
README.markdown
Binary file not shown.
@ -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){
|
||||
|
4
addons/pager/jquery.tablesorter.pager.min.js
vendored
4
addons/pager/jquery.tablesorter.pager.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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 = {
|
||||
|
4
js/jquery.tablesorter.min.js
vendored
4
js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"version": "2.2",
|
||||
"version": "2.2.1",
|
||||
"title": "tablesorter",
|
||||
"author": {
|
||||
"name": "Christian Bach",
|
||||
|
Loading…
Reference in New Issue
Block a user