libs/web: allow '!' and '.' symbols in phonedigit datatype
[project/luci.git] / libs / web / htdocs / luci-static / resources / cbi.js
index e89658d..02814a5 100644 (file)
@@ -299,7 +299,7 @@ var cbi_validators = {
        },
        'phonedigit': function()
        {
-               return (this.match(/^[0-9\*#]+$/) != null);
+               return (this.match(/^[0-9\*#!\.]+$/) != null);
        }
 };