mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-02 14:24:11 +01:00
Dev - Remove reporting code from the Ajax draw update - don't need it after the change for 36076fc5c8
This commit is contained in:
parent
73c834ea82
commit
60484bc93a
@ -150,21 +150,7 @@ function _fnAjaxUpdateDraw ( oSettings, json )
|
||||
var aData = _fnGetObjectDataFn( oSettings.sAjaxDataProp )( json );
|
||||
for ( var i=0, iLen=aData.length ; i<iLen ; i++ )
|
||||
{
|
||||
if ( bReOrder )
|
||||
{
|
||||
/* If we need to re-order, then create a new array with the correct order and add it */
|
||||
var aDataSorted = [];
|
||||
for ( var j=0, jLen=oSettings.aoColumns.length ; j<jLen ; j++ )
|
||||
{
|
||||
aDataSorted.push( aData[i][ aiIndex[j] ] );
|
||||
}
|
||||
_fnAddData( oSettings, aDataSorted );
|
||||
}
|
||||
else
|
||||
{
|
||||
/* No re-order required, sever got it "right" - just straight add */
|
||||
_fnAddData( oSettings, aData[i] );
|
||||
}
|
||||
_fnAddData( oSettings, aData[i] );
|
||||
}
|
||||
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user