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

Dev fix: Tidy up modifications to the _fnGetTdNodes function

This commit is contained in:
Allan Jardine 2011-05-08 18:40:02 +01:00
parent 1d651f68a3
commit 04aa89337b

View File

@ -5842,19 +5842,14 @@
var iCorrector; var iCorrector;
var anTds; var anTds;
var iRow, iRows=oSettings.aoData.length, var iRow, iRows=oSettings.aoData.length,
iColumn, iColumns, oData, sNodeName; iColumn, iColumns, oData, sNodeName, iStart=0, iEnd=iRows;
/* Allow the collection to be limited to just one row */ /* Allow the collection to be limited to just one row */
if ( typeof iRow == 'undefined' ) if ( typeof iIndividualRow != 'undefined' )
{ {
iStart = iIndividualRow; iStart = iIndividualRow;
iEnd = iIndividualRow+1; iEnd = iIndividualRow+1;
} }
else
{
iStart = 0;
iEnd = iRows;
}
for ( iRow=iStart ; iRow<iEnd ; iRow++ ) for ( iRow=iStart ; iRow<iEnd ; iRow++ )
{ {