Fix: fnFilterAll was a bit dodgy - 10670.

pull/2/head
Allan Jardine 13 years ago
parent 21426cf411
commit cb7b8ac3bb

@ -18,18 +18,9 @@
*/
$.fn.dataTableExt.oApi.fnFilterAll = function(oSettings, sInput, iColumn, bRegex, bSmart) {
if ( typeof bRegex == 'undefined' ) {
bRegex = false;
}
if ( typeof bSmart == 'undefined' ) {
bSmart = true;
}
var settings = $.fn.dataTableSettings;
for (var i in this.dataTableSettings) {
jQuery.fn.dataTableExt.iApiIndex = i;
this.fnFilter(sInput, iColumn, bRegex, bSmart);
for ( var i=0 ; i<settings.length ; i++ ) {
settings[i].oInstance.fnFilter( sInput, iColumn, bRegex, bSmart);
}
jQuery.fn.dataTableExt.iApiIndex = 0;
};

Loading…
Cancel
Save