1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-30 23:52:11 +01:00

Fixed: When pressing a meta key (i.e. an arrow key) in the search box and the search value didn't change, this was casuing a redraw to occur where one was not needed - 2933

This commit is contained in:
Allan Jardine 2010-10-30 06:35:30 +01:00
parent a6365b3f69
commit 47d5a6781a

View File

@ -3923,11 +3923,14 @@
} }
/* Now do the filter */ /* Now do the filter */
_fnFilterComplete( oSettings, { if ( this.value != oSettings.oPreviousSearch.sSearch )
"sSearch": this.value, {
"bRegex": oSettings.oPreviousSearch.bRegex, _fnFilterComplete( oSettings, {
"bSmart": oSettings.oPreviousSearch.bSmart "sSearch": this.value,
} ); "bRegex": oSettings.oPreviousSearch.bRegex,
"bSmart": oSettings.oPreviousSearch.bSmart
} );
}
} ); } );
jqFilter.keypress( function(e) { jqFilter.keypress( function(e) {