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>
(cherry picked from commit 5d15363408
)
This commit is contained in:
parent
66213ef617
commit
4f50a4fa83
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue