From 37ad2e00905eee4d97acad089ec2ff449afa67af Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Wed, 5 Aug 2015 18:15:56 -0400 Subject: Highlight all cells in the row --- usr/local/www/firewall_nat.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index d750706..e992fe6 100644 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -240,9 +240,7 @@ function fr_bgcolor(id, prefix) { var cellcnt = cells.length; for (i = 0; i < cellcnt; i++) { - // Check for cells with frd id only - if (cells[i].id == prefix + 'd' + id) - cells[i].style.backgroundColor = checkbox.checked ? "#B9DEF0" : "#FFFFFF"; + cells[i].style.backgroundColor = checkbox.checked ? "#B9DEF0" : "#FFFFFF"; } } -- cgit v1.1