projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: allow '!' and '.' symbols in phonedigit datatype
[project/luci.git]
/
libs
/
web
/
htdocs
/
luci-static
/
resources
/
cbi.js
diff --git
a/libs/web/htdocs/luci-static/resources/cbi.js
b/libs/web/htdocs/luci-static/resources/cbi.js
index
e89658d
..
02814a5
100644
(file)
--- a/
libs/web/htdocs/luci-static/resources/cbi.js
+++ b/
libs/web/htdocs/luci-static/resources/cbi.js
@@
-299,7
+299,7
@@
var cbi_validators = {
},
'phonedigit': function()
{
- return (this.match(/^[0-9\*#]+$/) != null);
+ return (this.match(/^[0-9\*#
!\.
]+$/) != null);
}
};