mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Fixed update issues, see #372
This commit is contained in:
parent
ca7124518d
commit
458669a75d
@ -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**
|
||||
|
@ -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) {
|
||||
|
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,6 +1,6 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"version": "2.11.0",
|
||||
"version": "2.11.1",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.2.6"
|
||||
}
|
||||
|
@ -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:
|
||||
|
2
js/jquery.tablesorter.min.js
vendored
2
js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user