From 10a69987dd482bdcd0add03feee9b9bcf02d0e71 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 25 Sep 2018 07:30:25 +0000 Subject: [PATCH] unbound: WPAD to advanced Requested by: @adschellevis --- src/www/services_unbound.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/www/services_unbound.php b/src/www/services_unbound.php index 1182c8c97..56457707a 100644 --- a/src/www/services_unbound.php +++ b/src/www/services_unbound.php @@ -150,7 +150,7 @@ include_once("head.inc"); $(window).trigger('resize'); }) // show advanced when option set - if ($("#outgoing_interface").val() != "" || $("#custom_options").val() != "") { + if ($("#outgoing_interface").val() != "" || $("#custom_options").val() != "" || $("#enable_wpad").prop('checked')) { $("#show_advanced_dns").click(); } }); @@ -297,16 +297,6 @@ include_once("head.inc"); - - - - /> - - - @@ -338,6 +328,16 @@ include_once("head.inc"); + + + + /> + + +