removed change event, fixes #400

This commit is contained in:
Mottie 2013-10-30 16:33:08 -05:00
parent 1cc8b0da33
commit 3bf49477d9

View File

@ -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;
}; };