Commit b5b8d91e authored by Ad Schellevis's avatar Ad Schellevis

Merge pull request #510 from 8191/js-disable-fix

tiny bugfix: unbound: fix JS to enable/disable interface selectors
parents 878eed3f 12bc95c4
......@@ -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();
......
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