Merge pull request #293 from hawk-ip/hawk-ip-patch-fnSetFilteringDelay

Fix - plug-in: fnSetFilteringDelay when filtering disabled
pull/295/head
Allan Jardine 8 years ago committed by GitHub
commit d9f69f081e

@ -29,6 +29,8 @@ jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings, iDelay )
} }
this.each( function ( i ) { this.each( function ( i ) {
if ( typeof _that.fnSettings().aanFeatures.f !== 'undefined' )
{
$.fn.dataTableExt.iApiIndex = i; $.fn.dataTableExt.iApiIndex = i;
var var
oTimerId = null, oTimerId = null,
@ -48,6 +50,7 @@ jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings, iDelay )
}); });
return this; return this;
}
} ); } );
return this; return this;
}; };

Loading…
Cancel
Save