Commit 55c13f16 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

firewall/nat, disable nordr controls. closes https://github.com/opnsense/core/issues/1585

(cherry picked from commit f5c25d72)
(cherry picked from commit 2abbf0dc)
parent 783abebf
......@@ -410,9 +410,12 @@ $( document ).ready(function() {
$("#nordr").change(function(){
if ($("#nordr").prop('checked')) {
$(".act_no_rdr").addClass("hidden");
$(".act_no_rdr :input").prop( "disabled", true );
} else {
$(".act_no_rdr").removeClass("hidden");
$(".act_no_rdr :input").prop( "disabled", false );
}
$(".act_no_rdr .selectpicker").selectpicker('refresh');
});
// trigger initial form change
......
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