Firewall : disable related network fields to align with https://github.com/opnsense/core/issues/6617

This commit is contained in:
Ad Schellevis 2023-06-16 21:56:34 +02:00
parent 0c76a9134d
commit fc93cdb0b0
2 changed files with 4 additions and 0 deletions

View File

@ -196,6 +196,7 @@ include("head.inc");
} else {
$(this).removeClass("hidden");
}
$(this).prop("disabled", false);
});
} else {
// hide related controls
@ -205,6 +206,7 @@ include("head.inc");
} else {
$(this).addClass("hidden");
}
$(this).prop("disabled", true);
});
}
});

View File

@ -661,6 +661,7 @@ include("head.inc");
} else {
$(this).removeClass("hidden");
}
$(this).prop("disabled", false);
});
} else {
// hide related controls
@ -670,6 +671,7 @@ include("head.inc");
} else {
$(this).addClass("hidden");
}
$(this).prop("disabled", true);
});
}
});