Commit 38a6a825 authored by Ad Schellevis's avatar Ad Schellevis

(firewall) javascript error preventing aliasses to work, related to...

(firewall) javascript error preventing aliasses to work, related to https://github.com/opnsense/core/issues/196
parent 6bfece96
......@@ -102,13 +102,6 @@ function proto_change() {
document.getElementById("tcpflags").style.display = 'none';
}
/* Disable OS knob if the proto is not TCP. */
if (document.iform.proto.selectedIndex < 1) {
document.forms[0].os.disabled = 0;
} else {
document.forms[0].os.disabled = 1;
}
if (document.iform.proto.selectedIndex == 3) {
document.iform.icmptype.disabled = 0;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment