diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-21 21:25:12 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-21 21:25:12 -0500 |
commit | 7c36b00f1d15f0496983e6e3f528b963111cc505 (patch) | |
tree | 9ef0001f4032d577114696ce37759c2b53de0a74 | |
parent | d7d64209f403ff0977f07f377c53bd48e13c3f3e (diff) | |
download | pfsense-7c36b00f1d15f0496983e6e3f528b963111cc505.zip pfsense-7c36b00f1d15f0496983e6e3f528b963111cc505.tar.gz |
Added some comments
-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() { |