minor bug fixes

This commit is contained in:
Mottie 2013-02-17 14:28:18 -06:00
parent 69cd8fc13c
commit c96f36d4ac
9 changed files with 22 additions and 11 deletions

View File

@ -42,6 +42,12 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change).
#### Version 2.7.8 (2/17/2013)
* Fixed script errors:
* Comment start was stripped when converting files from UTF-8 w/BOM to UTF-8 w/o BOM.
* Fixed Firefox error in the filter-formatter files, when HTML5 elements don't exist, oops!
#### Version 2.7.7 (2/17/2013)
* Updated the currency parser to ignore formatting (commas, decimals and spaces) when detecting the column parser.

View File

@ -1,6 +1,6 @@
{
"name": "tablesorter",
"version": "2.7.7",
"version": "2.7.8",
"dependencies": {
"jqueryjs": ">=1.2.6"
}

View File

@ -90,6 +90,7 @@
<div>
<ul>
<li>This page shows you how to add a few default <strong>HTML5 elements</strong> to interact with the filter widget.</li>
<li>If the HTML5 elements are not supported by your browser, you'll just see an input.</li>
<li>Custom filter widget option <code>filter_formatter</code> was added in version 2.7.7.</li>
<li>This widget "should" work with tablesorter v2.0.5.</li>
<li>jQuery v1.4.3+ required.</li>

View File

@ -1,5 +1,5 @@
/*!
* TableSorter 2.7.7 - Client-side table sorting with ease!
* TableSorter 2.7.8 - 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.7.7";
ts.version = "2.7.8";
ts.parsers = [];
ts.widgets = [];

File diff suppressed because one or more lines are too long

View File

@ -302,8 +302,10 @@ $.tablesorter.filterFormatter = {
}
$cell
.find('input[type=hidden]').val( chkd ? val + (o.exactMatch ? '=' : '') : '' ) // add equal to the end, so we filter exact numbers
.trigger('search').end()
.find('.number')[0].disabled = (o.disabled || !chkd);
.trigger('search');
if ($cell.find('.number').length) {
$cell.find('.number')[0].disabled = (o.disabled || !chkd);
}
};
$number.remove();
@ -405,7 +407,9 @@ $.tablesorter.filterFormatter = {
if (o.addToggle) {
chkd = $cell.find('.toggle').is(':checked');
}
$cell.find('.colorpicker')[0].disabled = (o.disabled || !chkd);
if ($cell.find('.colorpicker').length) {
$cell.find('.colorpicker')[0].disabled = (o.disabled || !chkd);
}
$cell
.find('input[type=hidden]').val( chkd ? val : '' )
.trigger('search');

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.7.7",
"version": "2.7.8",
"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.7.7",
"version": "2.7.8",
"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",