Filter: Search delay now works properly. Fixes #1134

This commit is contained in:
Rob Garrison 2016-01-21 07:32:41 -06:00
parent 58ce9220ff
commit 87edcd3814
8 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 01-20-2016 (v2.25.2)*/
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.2)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -3890,7 +3890,7 @@
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
tsf.searching( table, false, true );
tsf.searching( table, event.type !== 'keypress', true );
}
});
},

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 01-20-2016 (v2.25.2)*/
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.2)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -1172,7 +1172,7 @@
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
tsf.searching( table, false, true );
tsf.searching( table, event.type !== 'keypress', true );
}
});
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 01-20-2016 (v2.25.2)*/
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.2)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -3896,7 +3896,7 @@
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
tsf.searching( table, false, true );
tsf.searching( table, event.type !== 'keypress', true );
}
});
},

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 01-20-2016 (v2.25.2)*/
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.2)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -1178,7 +1178,7 @@
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
tsf.searching( table, false, true );
tsf.searching( table, event.type !== 'keypress', true );
}
});
},

View File

@ -804,7 +804,7 @@
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
tsf.searching( table, false, true );
tsf.searching( table, event.type !== 'keypress', true );
}
});
},