mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
filterReset event triggers when using a reset button. Fixes #423
This commit is contained in:
parent
c5a7109f2a
commit
aaaf171982
@ -570,7 +570,8 @@ ts.filter = {
|
||||
// reset button/link
|
||||
if (wo.filter_reset) {
|
||||
$(document).delegate(wo.filter_reset, 'click.tsfilter', function() {
|
||||
ts.filter.searching(table, []);
|
||||
// trigger a reset event, so other functions (filterFormatter) know when to reset
|
||||
c.$table.trigger('filterReset');
|
||||
});
|
||||
}
|
||||
if (wo.filter_functions) {
|
||||
|
Loading…
Reference in New Issue
Block a user