projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74ef26
)
Fixes #1413.
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 25 Oct 2017 12:23:45 +0000
(14:23 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 25 Oct 2017 12:40:05 +0000
(14:40 +0200)
Reported-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
fbe7f90eed4545e4b23a940a47043a2001625429
)
modules/luci-base/htdocs/luci-static/resources/cbi.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/cbi.js
b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index 8e66cbc380d850dec178945e4cc6f53400626aaf..0a362affba18868a16c7b6e37bb7acda811d2b9a 100644
(file)
--- 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) && cb
i
_validators.ip4addr.apply(this));
},
'hostname': function()