summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-21 21:25:12 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-21 21:25:12 -0500
commit7c36b00f1d15f0496983e6e3f528b963111cc505 (patch)
tree9ef0001f4032d577114696ce37759c2b53de0a74
parentd7d64209f403ff0977f07f377c53bd48e13c3f3e (diff)
downloadpfsense-7c36b00f1d15f0496983e6e3f528b963111cc505.zip
pfsense-7c36b00f1d15f0496983e6e3f528b963111cc505.tar.gz
Added some comments
-rw-r--r--src/usr/local/www/firewall_rules_edit.php3
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() {
OpenPOWER on IntegriCloud