Update alphabet search to be compatible with DT 1.10.2

pull/104/head
Allan Jardine 10 years ago
parent 28d71e3c6f
commit fa5734b290

@ -36,7 +36,10 @@ $.fn.dataTable.Api.register( 'alphabetSearch()', function ( searchTerm ) {
// Recalculate the alphabet display for updated data
$.fn.dataTable.Api.register( 'alphabetSearch.recalc()', function ( searchTerm ) {
this.iterator( 'table', function ( context ) {
draw( this, $('div.alphabet', this.table().container()) );
draw(
new $.fn.dataTable.Api( context ),
$('div.alphabet', this.table().container())
);
} );
return this;

Loading…
Cancel
Save