mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
removed change event, fixes #400
This commit is contained in:
parent
1cc8b0da33
commit
3bf49477d9
@ -835,7 +835,7 @@ ts.setFilters = function(table, filter, apply) {
|
|||||||
c = $t.length ? $t[0].config : {},
|
c = $t.length ? $t[0].config : {},
|
||||||
valid = c && c.$filters ? c.$filters.find('.tablesorter-filter').each(function(i, el) {
|
valid = c && c.$filters ? c.$filters.find('.tablesorter-filter').each(function(i, el) {
|
||||||
$(el).val(filter[i] || '');
|
$(el).val(filter[i] || '');
|
||||||
}).trigger('change.tsfilter') || false : false;
|
}) || false : false;
|
||||||
if (apply) { $t.trigger('search', [filter, false]); }
|
if (apply) { $t.trigger('search', [filter, false]); }
|
||||||
return !!valid;
|
return !!valid;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user