pull/24/merge
globalinnovation 12 years ago
commit 0674618270

@ -29,14 +29,5 @@ $.fn.dataTableExt.oApi.fnAddTr = function ( oSettings, nTr, bRedraw ) {
} }
/* Add the data and then replace DataTable's generated TR with ours */ /* Add the data and then replace DataTable's generated TR with ours */
var iIndex = this.oApi._fnAddData( oSettings, aData ); return this.fnAddData( aData, bRedraw );
nTr._DT_RowIndex = iIndex;
oSettings.aoData[ iIndex ].nTr = nTr;
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
if ( bRedraw )
{
this.oApi._fnReDraw( oSettings );
}
}; };

Loading…
Cancel
Save