mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Filter build select no longer causes an error. Fixes #421
This commit is contained in:
parent
0d1d3d249c
commit
3fede9fe7e
@ -577,7 +577,7 @@ ts.filter = {
|
|||||||
$header = c.$headers.filter('[data-column="' + column + '"]:last');
|
$header = c.$headers.filter('[data-column="' + column + '"]:last');
|
||||||
options = '';
|
options = '';
|
||||||
if (wo.filter_functions[column] === true && !$header.hasClass('filter-false')) {
|
if (wo.filter_functions[column] === true && !$header.hasClass('filter-false')) {
|
||||||
ts.filter.buildSelect(column);
|
ts.filter.buildSelect(table, column);
|
||||||
} else if (typeof column === 'string' && !$header.hasClass('filter-false')) {
|
} else if (typeof column === 'string' && !$header.hasClass('filter-false')) {
|
||||||
// add custom drop down list
|
// add custom drop down list
|
||||||
for (string in wo.filter_functions[column]) {
|
for (string in wo.filter_functions[column]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user