1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-02 03:29:14 +01:00

Merge pull request #115 from timtucker/patch-27

Update media/src/core/core.draw.js
This commit is contained in:
Allan Jardine 2012-10-07 04:09:27 -07:00
commit 542066100a

View File

@ -380,8 +380,6 @@ function _fnDraw( oSettings )
iRowCount++; iRowCount++;
/* If there is an open row - and it is attached to this parent - attach it on redraw */ /* If there is an open row - and it is attached to this parent - attach it on redraw */
if ( iOpenRows !== 0 )
{
for ( var k=0 ; k<iOpenRows ; k++ ) for ( var k=0 ; k<iOpenRows ; k++ )
{ {
if ( nRow == oSettings.aoOpenRows[k].nParent ) if ( nRow == oSettings.aoOpenRows[k].nParent )
@ -392,7 +390,6 @@ function _fnDraw( oSettings )
} }
} }
} }
}
else else
{ {
/* Table is empty - create a row with an empty message in it */ /* Table is empty - create a row with an empty message in it */