summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-08-05 18:15:56 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-08-05 18:15:56 -0400
commit37ad2e00905eee4d97acad089ec2ff449afa67af (patch)
tree416b1118bd950192f6d705db7a34b527e2f5c746
parentfe4dec8f0b53e98fb096cd92a877774bddf393b1 (diff)
downloadpfsense-37ad2e00905eee4d97acad089ec2ff449afa67af.zip
pfsense-37ad2e00905eee4d97acad089ec2ff449afa67af.tar.gz
Highlight all cells in the row
-rw-r--r--usr/local/www/firewall_nat.php4
1 files changed, 1 insertions, 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";
}
}
</script>
OpenPOWER on IntegriCloud