diff --git a/media/src/core/core.data.js b/media/src/core/core.data.js index 1e49a792..336ee72d 100644 --- a/media/src/core/core.data.js +++ b/media/src/core/core.data.js @@ -1,4 +1,3 @@ - /** * Add a data array to the table, creating DOM node etc. This is the parallel to * _fnGatherData, but for adding rows from a Javascript source, rather than a @@ -81,7 +80,7 @@ function _fnAddData ( oSettings, aDataSupplied ) function _fnGatherData( oSettings ) { var iLoop, i, iLen, j, jLen, jInner, - nTds, nTrs, nTd, aLocalData, iThisIndex, + nTds, nTrs, nTd, nTr, aLocalData, iThisIndex, iRow, iRows, iColumn, iColumns, sNodeName, oCol, oData; @@ -92,31 +91,32 @@ function _fnGatherData( oSettings ) */ if ( oSettings.bDeferLoading || oSettings.sAjaxSource === null ) { - nTrs = oSettings.nTBody.childNodes; - for ( i=0, iLen=nTrs.length ; i