From c6712bdc3c653d694d61bab01628f1621bcb73a3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 5 Feb 2013 13:15:48 +0000 Subject: libs/web: allow '!' and '.' symbols in phonedigit datatype --- libs/web/htdocs/luci-static/resources/cbi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/web/htdocs/luci-static') diff --git a/libs/web/htdocs/luci-static/resources/cbi.js b/libs/web/htdocs/luci-static/resources/cbi.js index e89658dc96..02814a5428 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); } }; -- cgit v1.2.3