diff --git a/src/www/firewall_nat.php b/src/www/firewall_nat.php index fca2b155f..d158199f1 100644 --- a/src/www/firewall_nat.php +++ b/src/www/firewall_nat.php @@ -263,7 +263,7 @@ $( document ).ready(function() { // select All $("#selectAll").click(function(){ - $(".rule_select").prop("checked", $(this).prop("checked")); + $(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked")); }); // move category block diff --git a/src/www/firewall_nat_1to1.php b/src/www/firewall_nat_1to1.php index 8d26ff1dc..c3abd7f1e 100644 --- a/src/www/firewall_nat_1to1.php +++ b/src/www/firewall_nat_1to1.php @@ -211,7 +211,7 @@ include("head.inc"); }); // select All $("#selectAll").click(function(){ - $(".rule_select").prop("checked", $(this).prop("checked")); + $(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked")); }); // watch scroll position and set to last known on page load diff --git a/src/www/firewall_nat_npt.php b/src/www/firewall_nat_npt.php index bd88207f3..eb5439bb5 100644 --- a/src/www/firewall_nat_npt.php +++ b/src/www/firewall_nat_npt.php @@ -161,7 +161,7 @@ include("head.inc"); // select All $("#selectAll").click(function(){ - $(".rule_select").prop("checked", $(this).prop("checked")); + $(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked")); }); // move category block diff --git a/src/www/firewall_nat_out.php b/src/www/firewall_nat_out.php index d07fa5abb..46ed88ebb 100644 --- a/src/www/firewall_nat_out.php +++ b/src/www/firewall_nat_out.php @@ -228,7 +228,7 @@ include("head.inc"); // select All $("#selectAll").click(function(){ - $(".rule_select").prop("checked", $(this).prop("checked")); + $(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked")); }); // watch scroll position and set to last known on page load diff --git a/src/www/firewall_rules.php b/src/www/firewall_rules.php index d286cdadb..c9c7b73a5 100644 --- a/src/www/firewall_rules.php +++ b/src/www/firewall_rules.php @@ -492,7 +492,7 @@ $( document ).ready(function() { // select All $("#selectAll").click(function(){ - $(".rule_select").prop("checked", $(this).prop("checked")); + $(".rule_select:not(:disabled)").prop("checked", $(this).prop("checked")); }); // move category block