mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
v2.28.14
This commit is contained in:
parent
8c6111dda0
commit
d398c91f0f
35
README.md
35
README.md
@ -82,7 +82,7 @@ If you would like to contribute, please...
|
||||
* Big thanks to [ThsSin-](https://github.com/TheSin-) for taking over for a while and also providing valuable feedback.
|
||||
* Thanks to [prijutme4ty](https://github.com/prijutme4ty) for numerous contributions!
|
||||
* Also extra thanks to [christhomas](https://github.com/christhomas) and [Lynesth](https://github.com/Lynesth) for help with code.
|
||||
* And, of course thanks to everyone else that has contributed, and continues to contribute to this forked project!
|
||||
* And, of course thanks to everyone else that has [contributed](https://github.com/Mottie/tablesorter/blob/master/AUTHORS), and continues to contribute through pull requests and open issues to this forked project!
|
||||
|
||||
[npm-url]: https://npmjs.org/package/tablesorter
|
||||
[npm-image]: https://img.shields.io/npm/v/tablesorter.svg
|
||||
@ -104,6 +104,18 @@ If you would like to contribute, please...
|
||||
|
||||
View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/Changes).
|
||||
|
||||
#### <a name="v2.28.14">Version 2.28.14</a> (6/8/2017)
|
||||
|
||||
* Core:
|
||||
* Show console error for mismatched column count. See [issue #1415](https://github.com/Mottie/tablesorter/issues/1415).
|
||||
* Pager:
|
||||
* (addon) Ensure ajax is called after filter widget init. Fixes [issue #1389](https://github.com/Mottie/tablesorter/issues/1389).
|
||||
* (addon) Fix height issues for certain browsers (border-spacing). See [pull #1418](https://github.com/Mottie/tablesorter/pull/1418); thanks [@DoctorWhite](https://github.com/DoctorWhite)
|
||||
* (widget) Apply height adjustment code to pager widget.
|
||||
* Use selectorRemove to remove error rows. Removes error rows with dynamically changed class names.
|
||||
* Meta:
|
||||
* Added [AUTHORS](https://github.com/Mottie/tablesorter/blob/master/AUTHORS) file.
|
||||
|
||||
#### <a name="v2.28.13">Version 2.28.13</a> (6/2/2017)
|
||||
|
||||
* Core:
|
||||
@ -127,24 +139,3 @@ View the [complete change log here](https://github.com/Mottie/tablesorter/wiki/C
|
||||
* Fix linting issues.
|
||||
* Update jQuery UI to v1.12.1.
|
||||
* Update [filter selectmenu demo](https://mottie.github.io/tablesorter/docs/example-widget-filter-selectmenu.html).
|
||||
|
||||
#### <a name="v2.28.11">Version 2.28.11</a> (5/24/2017)
|
||||
|
||||
* Docs:
|
||||
* Reword `sortReset` method description. See [issue #1404](https://github.com/Mottie/tablesorter/issues/1404).
|
||||
* Columns:
|
||||
* Initialize after pager widget.
|
||||
* CssStickyHeaders:
|
||||
* Fix captioned tables in Safari. See [issue #1405](https://github.com/Mottie/tablesorter/issues/1405); thanks [@TheSin-](https://github.com/TheSin-)!
|
||||
* Fix in Edge browser.
|
||||
* Filter:
|
||||
* Attempt to fix [issue #1152](https://github.com/Mottie/tablesorter/issues/1152) (`liveSearch`).
|
||||
* Second attempt at [issue #1152](https://github.com/Mottie/tablesorter/issues/1152).
|
||||
* Trigger `liveSearch` on blur & cleanup.
|
||||
* Pager (widget only):
|
||||
* Allow ajax processing on init.
|
||||
* Ensure ajax is called after filter widget initializes.
|
||||
* Parsers:
|
||||
* Update links to sugarjs/datejs demos.
|
||||
* Meta:
|
||||
* Update dependencies.
|
||||
|
39
dist/js/jquery.tablesorter.combined.js
vendored
39
dist/js/jquery.tablesorter.combined.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! tablesorter (FORK) - updated 06-02-2017 (v2.28.13)*/
|
||||
/*! tablesorter (FORK) - updated 06-08-2017 (v2.28.14)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
@ -10,7 +10,7 @@
|
||||
}
|
||||
}(function(jQuery) {
|
||||
|
||||
/*! TableSorter (FORK) v2.28.13 *//*
|
||||
/*! TableSorter (FORK) v2.28.14 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -34,7 +34,7 @@
|
||||
'use strict';
|
||||
var ts = $.tablesorter = {
|
||||
|
||||
version : '2.28.13',
|
||||
version : '2.28.14',
|
||||
|
||||
parsers : [],
|
||||
widgets : [],
|
||||
@ -2287,9 +2287,42 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
ts.checkColumnCount($rows, matrix, matrixrow.length);
|
||||
return matrixrow.length;
|
||||
},
|
||||
|
||||
checkColumnCount : function($rows, matrix, columns) {
|
||||
// this DOES NOT report any tbody column issues, except for the math and
|
||||
// and column selector widgets
|
||||
var i, len,
|
||||
valid = true,
|
||||
cells = [];
|
||||
for ( i = 0; i < matrix.length; i++ ) {
|
||||
// some matrix entries are undefined when testing the footer because
|
||||
// it is using the rowIndex property
|
||||
if ( matrix[i] ) {
|
||||
len = matrix[i].length;
|
||||
if ( matrix[i].length !== columns ) {
|
||||
valid = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( !valid ) {
|
||||
$rows.each( function( indx, el ) {
|
||||
var cell = el.parentElement.nodeName;
|
||||
if ( cells.indexOf( cell ) ) {
|
||||
cells.push( cell );
|
||||
}
|
||||
});
|
||||
console.error(
|
||||
'Invalid or incorrect number of columns in the ' +
|
||||
cells.join( ' or ' ) + '; expected ' + columns +
|
||||
', but found ' + len + ' columns'
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
// automatically add a colgroup with col elements set to a percentage width
|
||||
fixColumnWidth : function( table ) {
|
||||
table = $( table )[ 0 ];
|
||||
|
4
dist/js/jquery.tablesorter.combined.min.js
vendored
4
dist/js/jquery.tablesorter.combined.min.js
vendored
File diff suppressed because one or more lines are too long
37
dist/js/jquery.tablesorter.js
vendored
37
dist/js/jquery.tablesorter.js
vendored
@ -8,7 +8,7 @@
|
||||
}
|
||||
}(function(jQuery) {
|
||||
|
||||
/*! TableSorter (FORK) v2.28.13 *//*
|
||||
/*! TableSorter (FORK) v2.28.14 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -32,7 +32,7 @@
|
||||
'use strict';
|
||||
var ts = $.tablesorter = {
|
||||
|
||||
version : '2.28.13',
|
||||
version : '2.28.14',
|
||||
|
||||
parsers : [],
|
||||
widgets : [],
|
||||
@ -2285,9 +2285,42 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
ts.checkColumnCount($rows, matrix, matrixrow.length);
|
||||
return matrixrow.length;
|
||||
},
|
||||
|
||||
checkColumnCount : function($rows, matrix, columns) {
|
||||
// this DOES NOT report any tbody column issues, except for the math and
|
||||
// and column selector widgets
|
||||
var i, len,
|
||||
valid = true,
|
||||
cells = [];
|
||||
for ( i = 0; i < matrix.length; i++ ) {
|
||||
// some matrix entries are undefined when testing the footer because
|
||||
// it is using the rowIndex property
|
||||
if ( matrix[i] ) {
|
||||
len = matrix[i].length;
|
||||
if ( matrix[i].length !== columns ) {
|
||||
valid = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( !valid ) {
|
||||
$rows.each( function( indx, el ) {
|
||||
var cell = el.parentElement.nodeName;
|
||||
if ( cells.indexOf( cell ) ) {
|
||||
cells.push( cell );
|
||||
}
|
||||
});
|
||||
console.error(
|
||||
'Invalid or incorrect number of columns in the ' +
|
||||
cells.join( ' or ' ) + '; expected ' + columns +
|
||||
', but found ' + len + ' columns'
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
// automatically add a colgroup with col elements set to a percentage width
|
||||
fixColumnWidth : function( table ) {
|
||||
table = $( table )[ 0 ];
|
||||
|
2
dist/js/jquery.tablesorter.min.js
vendored
2
dist/js/jquery.tablesorter.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/jquery.tablesorter.widgets.js
vendored
2
dist/js/jquery.tablesorter.widgets.js
vendored
@ -1,4 +1,4 @@
|
||||
/*! tablesorter (FORK) - updated 06-02-2017 (v2.28.13)*/
|
||||
/*! tablesorter (FORK) - updated 06-08-2017 (v2.28.14)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
|
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
2
dist/js/jquery.tablesorter.widgets.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) - updated 06-02-2017 (v2.28.13)*/
|
||||
/*! tablesorter (FORK) - updated 06-08-2017 (v2.28.14)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
@ -16,7 +16,7 @@
|
||||
}
|
||||
}(function(jQuery) {
|
||||
|
||||
/*! TableSorter (FORK) v2.28.13 *//*
|
||||
/*! TableSorter (FORK) v2.28.14 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -40,7 +40,7 @@
|
||||
'use strict';
|
||||
var ts = $.tablesorter = {
|
||||
|
||||
version : '2.28.13',
|
||||
version : '2.28.14',
|
||||
|
||||
parsers : [],
|
||||
widgets : [],
|
||||
@ -2293,9 +2293,42 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
ts.checkColumnCount($rows, matrix, matrixrow.length);
|
||||
return matrixrow.length;
|
||||
},
|
||||
|
||||
checkColumnCount : function($rows, matrix, columns) {
|
||||
// this DOES NOT report any tbody column issues, except for the math and
|
||||
// and column selector widgets
|
||||
var i, len,
|
||||
valid = true,
|
||||
cells = [];
|
||||
for ( i = 0; i < matrix.length; i++ ) {
|
||||
// some matrix entries are undefined when testing the footer because
|
||||
// it is using the rowIndex property
|
||||
if ( matrix[i] ) {
|
||||
len = matrix[i].length;
|
||||
if ( matrix[i].length !== columns ) {
|
||||
valid = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( !valid ) {
|
||||
$rows.each( function( indx, el ) {
|
||||
var cell = el.parentElement.nodeName;
|
||||
if ( cells.indexOf( cell ) ) {
|
||||
cells.push( cell );
|
||||
}
|
||||
});
|
||||
console.error(
|
||||
'Invalid or incorrect number of columns in the ' +
|
||||
cells.join( ' or ' ) + '; expected ' + columns +
|
||||
', but found ' + len + ' columns'
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
// automatically add a colgroup with col elements set to a percentage width
|
||||
fixColumnWidth : function( table ) {
|
||||
table = $( table )[ 0 ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*! TableSorter (FORK) v2.28.13 *//*
|
||||
/*! TableSorter (FORK) v2.28.14 *//*
|
||||
* Client-side table sorting with ease!
|
||||
* @requires jQuery v1.2.6+
|
||||
*
|
||||
@ -22,7 +22,7 @@
|
||||
'use strict';
|
||||
var ts = $.tablesorter = {
|
||||
|
||||
version : '2.28.13',
|
||||
version : '2.28.14',
|
||||
|
||||
parsers : [],
|
||||
widgets : [],
|
||||
|
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) - updated 06-02-2017 (v2.28.13)*/
|
||||
/*! tablesorter (FORK) - updated 06-08-2017 (v2.28.14)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.28.13",
|
||||
"version": "2.28.14",
|
||||
"description": "tablesorter (FORK) 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.",
|
||||
"author": {
|
||||
"name": "Christian Bach",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "tablesorter",
|
||||
"title": "tablesorter",
|
||||
"version": "2.28.13",
|
||||
"version": "2.28.14",
|
||||
"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