summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-01-31 11:19:09 +0100
committerJo-Philipp Wich <jo@mein.io>2020-01-31 11:19:09 +0100
commit5d15363408d263fccae90b3b7ab0ebac6329eebb (patch)
tree7fcda20bf0436ff134728c562643cf5f5da90acf /modules
parent1d5a2fb0b98b5bf9d537843237a5241ada2316ed (diff)
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 <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js3
1 files changed, 2 insertions, 1 deletions
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 <abbr title="Domain Name System">DNS</abbr> file'));
- o.depends('noresolv', '');
+ o.depends('noresolv', '0');
+ o.placeholder = '/tmp/resolv.conf.auto';
o.optional = true;