summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-10-25 14:23:45 +0200
committerJo-Philipp Wich <jo@mein.io>2017-10-25 14:40:05 +0200
commit07e7ff07aa45ca8b49ab7290bce89aac6994f9a0 (patch)
treee94b566f5498d2ad11e10e0316646a3820d17453
parentb74ef26beccc3149184ffdba794734f40fed3da4 (diff)
Fixes #1413.
Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit fbe7f90eed4545e4b23a940a47043a2001625429)
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/cbi.js b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index 8e66cbc38..0a362affb 100644
--- a/modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/modules/luci-base/htdocs/luci-static/resources/cbi.js
@@ -189,7 +189,7 @@ var cbi_validators = {
{
return cbi_validators.hostname.apply(this) ||
((ipv4only != 1) && cbi_validators.ipaddr.apply(this)) ||
- ((ipv4only == 1) && cb_validators.ip4addr.apply(this));
+ ((ipv4only == 1) && cbi_validators.ip4addr.apply(this));
},
'hostname': function()