From: Jo-Philipp Wich Date: Fri, 31 Jan 2020 10:19:09 +0000 (+0100) Subject: luci-mod-network: dhcp.js: fix resolvefile option depends X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5d15363408d263fccae90b3b7ab0ebac6329eebb;p=oweals%2Fluci.git luci-mod-network: dhcp.js: fix resolvefile option depends Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229 Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index c4db638b1..d0a6da20d 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -173,7 +173,8 @@ return L.view.extend({ _('Resolve file'), _('local DNS file')); - o.depends('noresolv', ''); + o.depends('noresolv', '0'); + o.placeholder = '/tmp/resolv.conf.auto'; o.optional = true;