mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Fix - example: Column filtering would reset the paging on change event, which could give the impression that pading didn't happen since it is immediately over written.
Thread 29670
This commit is contained in:
parent
e7e439dd0a
commit
6352732eac
@ -1 +1 @@
|
||||
21448db57ac0b3c1b0445c433a86d3dfe1aaf727
|
||||
53f2a201c020addc66c5fb51472a3b637bfd9abd
|
||||
|
@ -40,9 +40,11 @@ $(document).ready(function() {
|
||||
var that = this;
|
||||
|
||||
$( 'input', this.footer() ).on( 'keyup change', function () {
|
||||
that
|
||||
.search( this.value )
|
||||
.draw();
|
||||
if ( that.search() !== this.value ) {
|
||||
that
|
||||
.search( this.value )
|
||||
.draw();
|
||||
}
|
||||
} );
|
||||
} );
|
||||
} );
|
||||
@ -581,9 +583,11 @@ $(document).ready(function() {
|
||||
var that = this;
|
||||
|
||||
$( 'input', this.footer() ).on( 'keyup change', function () {
|
||||
that
|
||||
.search( this.value )
|
||||
.draw();
|
||||
if ( that.search() !== this.value ) {
|
||||
that
|
||||
.search( this.value )
|
||||
.draw();
|
||||
}
|
||||
} );
|
||||
} );
|
||||
} );</code>
|
||||
|
Loading…
x
Reference in New Issue
Block a user