summaryrefslogtreecommitdiffhomepage
path: root/libs/web/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-02-05 13:15:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-02-05 13:15:48 +0000
commitc6712bdc3c653d694d61bab01628f1621bcb73a3 (patch)
treec5ae9c5d8468a059170d0106aac5a51a6e8317b8 /libs/web/htdocs/luci-static
parentf60197c15c8ba0ec26cacf2496aa784da25ffae8 (diff)
libs/web: allow '!' and '.' symbols in phonedigit datatype
Diffstat (limited to 'libs/web/htdocs/luci-static')
-rw-r--r--libs/web/htdocs/luci-static/resources/cbi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js
index e89658dc9..02814a542 100644
--- 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);
}
};