Fixed update issues, see #372

This commit is contained in:
Mottie 2013-10-11 14:33:31 -05:00
parent ca7124518d
commit 458669a75d
8 changed files with 20 additions and 10 deletions

View File

@ -43,6 +43,13 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change).
#### <a name="v2.11.1">Version 2.11.1</a> (10/11/2013)
* Fixed an updating bug:
* The pager was not updating properly
* The `updateComplete` event was not firing when not using ajax.
* Thanks @sbine for sharing the fix!
#### <a name="v2.11">Version 2.11</a> (10/10/2013)
**Core**

View File

@ -1,6 +1,6 @@
/*!
* tablesorter pager plugin
* updated 10/10/2013
* updated 10/11/2013
*/
/*jshint browser:true, jquery:true, unused:false */
/*global toString:true */
@ -310,6 +310,8 @@
if (p.initialized) {
$t.trigger('pagerChange', p);
$t.trigger('updateComplete');
} else {
$t.trigger('update');
}
}
if (!p.initialized) {

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "tablesorter",
"version": "2.11.0",
"version": "2.11.1",
"dependencies": {
"jquery": ">=1.2.6"
}

View File

@ -1,5 +1,5 @@
/*!
* TableSorter 2.11.0 - Client-side table sorting with ease!
/**!
* TableSorter 2.11.1 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
* Copyright (c) 2007 Christian Bach
@ -24,7 +24,7 @@
var ts = this;
ts.version = "2.11.0";
ts.version = "2.11.1";
ts.parsers = [];
ts.widgets = [];
@ -343,6 +343,7 @@
if (!init) { ts.applyWidget(table); }
// trigger sortend
$(table).trigger("sortEnd", table);
$(table).trigger("updateComplete", table);
}
// computeTableHeaderCellIndexes from:

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.11.0",
"version": "2.11.1",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.11.0",
"version": "2.11.1",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",