diff options
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index d955663..1572855 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -1938,6 +1938,8 @@ events.push(function() { setHelpText(target, dispstr); } + // When editing "associated" rules, everything except the enable, action, address family and desscription + // fields are disabled function disable_most(disable) { var elementsToDisable = [ 'interface', 'proto', 'icmptype', 'icmp6type', 'srcnot', 'srctype', 'src', 'srcmask', 'srcbebinport', 'srcbeginport_cust', 'srcendport', @@ -1947,6 +1949,7 @@ events.push(function() { disableInput(elementsToDisable[idx], disable); } } + // ---------- Click checkbox handlers --------------------------------------------------------- $('#statetype').on('change', function() { |