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