Filter widget bindSearch function update

This commit is contained in:
Mottie 2013-11-16 13:19:10 -06:00
parent aabc4621ac
commit dc2d146751

View File

@ -708,7 +708,7 @@ ts.filter = {
bindSearch: function(table, $el) {
table = $(table)[0];
var external, wo = table.config.widgetOptions;
$el.bind('keyup search', function(event, filter) {
$el.unbind('keyup search').bind('keyup search', function(event, filter) {
// emulate what webkit does.... escape clears the filter
if (event.which === 27) {
this.value = '';