1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Performance: there can only be 1 open row per parent TR, so quit out the loop when found - 8060

This commit is contained in:
Allan Jardine 2012-01-14 09:38:19 +00:00
parent 7f90aff469
commit 1077ebcf08
2 changed files with 2 additions and 0 deletions

View File

@ -1367,6 +1367,7 @@
if ( nRow == oSettings.aoOpenRows[k].nParent )
{
anRows.push( oSettings.aoOpenRows[k].nTr );
break;
}
}
}

View File

@ -398,6 +398,7 @@ function _fnDraw( oSettings )
if ( nRow == oSettings.aoOpenRows[k].nParent )
{
anRows.push( oSettings.aoOpenRows[k].nTr );
break;
}
}
}