1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-02 14:24:11 +01:00

fix to fnAddData ignoring the default bRedraw=true

Signed-off-by: Michal Poreba <michalporeba@gmail.com>
This commit is contained in:
Michal Poreba 2012-01-06 11:46:39 +00:00
parent 6fbda0a08f
commit bedec19423

View File

@ -181,7 +181,7 @@ this.fnAddData = function( mData, bRedraw )
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
if ( bRedraw )
if ( bRedraw === undefined || bRedraw )
{
_fnReDraw( oSettings );
}