Fix childRow filtering

This commit is contained in:
Mottie 2013-12-08 22:19:08 -06:00
parent a1ea07dc15
commit 51ecf97c84

View File

@ -927,7 +927,7 @@ ts.filter = {
$rows[rowIndex].style.display = (showRow ? '' : 'none'); $rows[rowIndex].style.display = (showRow ? '' : 'none');
$rows.eq(rowIndex)[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow); $rows.eq(rowIndex)[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow);
if (childRow.length) { if (childRow.length) {
if (c.pager && c.pager.countChildRows || wo.pager_countChildRows) { if (c.pager && c.pager.countChildRows || wo.pager_countChildRows || wo.filter_childRows) {
childRow[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow); // see issue #396 childRow[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow); // see issue #396
} }
childRow.toggle(showRow); childRow.toggle(showRow);