From 5d15363408d263fccae90b3b7ab0ebac6329eebb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 31 Jan 2020 11:19:09 +0100 Subject: 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 --- .../luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/luci-mod-network/htdocs/luci-static') 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 c4db638b11..d0a6da20da 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; -- cgit v1.2.3