1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

Dev fix: fnAdjustColumnSizing was reseting paging

- The shim layer call to api.draw() was telling the API to reset the
  paging, but it should have been holding it static (as it now does by
  passing false in to draw()).
This commit is contained in:
Allan Jardine 2013-08-14 09:07:15 +01:00
parent c05d26fcb9
commit b00180b71e
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
f5f7497e52b93a27bb048d7c3c2bea8c453b1eb9
6ce86aedafd9cdc882b15c8fa069a156791ede89

View File

@ -4748,7 +4748,7 @@
var scroll = settings.oScroll;
if ( bRedraw === undefined || bRedraw ) {
api.draw( true );
api.draw( false );
}
else if ( scroll.sX !== "" || scroll.sY !== "" ) {
/* If not redrawing, but scrolling, we want to apply the new column sizes anyway */