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

API - fix: The parameter for fnDraw was inverted by mistake in the 1.9.0 release - 7825

This commit is contained in:
Allan Jardine 2012-04-04 08:28:35 +01:00
parent 35a23adb75
commit 5114e98a93
2 changed files with 2 additions and 2 deletions

View File

@ -5324,7 +5324,7 @@
this.fnDraw = function( bComplete )
{
var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] );
if ( bComplete )
if ( bComplete === false )
{
_fnCalculateEnd( oSettings );
_fnDraw( oSettings );

View File

@ -582,7 +582,7 @@ this.fnDestroy = function ( bRemove )
this.fnDraw = function( bComplete )
{
var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] );
if ( bComplete )
if ( bComplete === false )
{
_fnCalculateEnd( oSettings );
_fnDraw( oSettings );