mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
unbound: fix JS to enable/disable interface selectors
If unbound is enabled/disabled globally, the interface selectors should be enabled/disabled as well.
This commit is contained in:
parent
878eed3f65
commit
12bc95c40a
@ -175,6 +175,7 @@ function enable_change(enable_over) {
|
||||
var endis;
|
||||
endis = !(jQuery('#enable').is(":checked") || enable_over);
|
||||
jQuery("#active_interface,#outgoing_interface,#dnssec,#forwarding,#regdhcp,#regdhcpstatic,#dhcpfirst,#port,#txtsupport,#custom_options").prop('disabled', endis);
|
||||
jQuery("#active_interface,#outgoing_interface").selectpicker("refresh");
|
||||
}
|
||||
function show_advanced_dns() {
|
||||
jQuery("#showadv").show();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user