Fix IE8 class name parsers, issue #74

This commit is contained in:
Rob Garrison 2012-05-20 08:24:22 -05:00
parent 83ccdb2bde
commit d54c72023d
4 changed files with 7 additions and 6 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
/*!
* TableSorter 2.3.3 - Client-side table sorting with ease!
* TableSorter 2.3.4 - 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.3";
this.version = "2.3.4";
var parsers = [], widgets = [];
this.defaults = {
@ -165,7 +165,8 @@
list = [];
l = rows[0].cells.length;
for (i = 0; i < l; i++) {
h = $headers.filter(':not([colspan])[data-column="'+i+'"]:last');
// tons of thanks to AnthonyM1229 for working out the following selector (issue #74) to make this work in IE8!
h = $headers.filter(':not([colspan])[data-column="'+i+'"]:last,[colspan="1"][data-column="'+i+'"]:last');
ch = c.headers[i];
// get column parser
p = getParserById( ts.getData(h, ch, 'sorter') );

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "tablesorter",
"version": "2.3.3",
"version": "2.3.4",
"title": "tablesorter",
"author": {
"name": "Christian Bach",