diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-01-31 11:19:09 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-31 11:19:09 +0100 |
commit | 5d15363408d263fccae90b3b7ab0ebac6329eebb (patch) | |
tree | 7fcda20bf0436ff134728c562643cf5f5da90acf /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | 1d5a2fb0b98b5bf9d537843237a5241ada2316ed (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/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 3 |
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 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 <abbr title="Domain Name System">DNS</abbr> file')); - o.depends('noresolv', ''); + o.depends('noresolv', '0'); + o.placeholder = '/tmp/resolv.conf.auto'; o.optional = true; |