diff options
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 2 |
1 files changed, 1 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 2006657f0f..c723a45054 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 @@ -883,7 +883,7 @@ return view.extend({ so = ss.option(form.Value, 'cname', _('Domain')); so.rmempty = false; - so.datatype = 'hostname'; + so.validate = validateHostname; so.placeholder = 'www.example.com.'; so = ss.option(form.Value, 'target', _('Target')); |