Permalink
Browse files

filter widget now skips an empty table

  • Loading branch information...
Mottie committed Jun 21, 2012
1 parent 67533b1 commit 08ff6e20970abf36504c4f2b289253d79c5d8ca5
View
Binary file not shown.
View
@@ -1,5 +1,5 @@
/*!
-* TableSorter 2.3.9 - Client-side table sorting with ease!
+* TableSorter 2.3.10 - 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.3.9";
+ this.version = "2.3.10";
var parsers = [], widgets = [];
this.defaults = {

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -178,7 +178,7 @@ $.tablesorter.addWidget({
$.tablesorter.addWidget({
id: "filter",
format: function(table) {
- if (!$(table).hasClass('hasFilters')) {
+ if (table.config.parsers && !$(table).hasClass('hasFilters')) {
var i, j, k, l, cv, v, val, r, ff, t, x, xi, cr,
sel, $tb, $th, $tr, $td, reg2,
c = table.config,

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,6 +1,6 @@
{
"name": "tablesorter",
- "version": "2.3.9",
+ "version": "2.3.10",
"title": "tablesorter",
"author": {
"name": "Christian Bach",

0 comments on commit 08ff6e2

Please sign in to comment.