summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js b/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js
index 4243d21..d8caa35 100644
--- a/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js
+++ b/usr/local/www/javascript/firewall_rules_edit/firewall_rules_edit.js
@@ -110,13 +110,15 @@ function proto_change() {
document.getElementById("icmpbox").style.display = 'none';
}
- if(document.iform.proto.selectedIndex >= 0 && document.iform.proto.selectedIndex <= 3) {
+ if(document.iform.proto.selectedIndex >= 0 && document.iform.proto.selectedIndex <= 2) {
document.getElementById("dprtr").style.display = '';
document.getElementById("showadvancedboxspr").innerHTML='<p><input type="button" onClick="show_source_port_range()" value="Advanced"></input> Show source port range</a>';
} else {
document.getElementById("sprtable").style.display = 'none';
document.getElementById("dprtr").style.display = 'none';
}
+
+ alert(document.iform.proto.selectedIndex);
}
function src_rep_change() {
OpenPOWER on IntegriCloud