|
|
@ -31,13 +31,11 @@ jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings, iDelay )
|
|
|
|
this.each( function ( i ) {
|
|
|
|
this.each( function ( i ) {
|
|
|
|
$.fn.dataTableExt.iApiIndex = i;
|
|
|
|
$.fn.dataTableExt.iApiIndex = i;
|
|
|
|
var
|
|
|
|
var
|
|
|
|
$this = this,
|
|
|
|
|
|
|
|
oTimerId = null,
|
|
|
|
oTimerId = null,
|
|
|
|
sPreviousSearch = null,
|
|
|
|
sPreviousSearch = null,
|
|
|
|
anControl = $( 'input', _that.fnSettings().aanFeatures.f );
|
|
|
|
anControl = $( 'input', _that.fnSettings().aanFeatures.f );
|
|
|
|
|
|
|
|
|
|
|
|
anControl.unbind( 'keyup search input' ).bind( 'keyup search input', function() {
|
|
|
|
anControl.unbind( 'keyup search input' ).bind( 'keyup search input', function() {
|
|
|
|
var $$this = $this;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (sPreviousSearch === null || sPreviousSearch != anControl.val()) {
|
|
|
|
if (sPreviousSearch === null || sPreviousSearch != anControl.val()) {
|
|
|
|
window.clearTimeout(oTimerId);
|
|
|
|
window.clearTimeout(oTimerId);
|
|
|
|