Skip to content

Commit

Permalink
V1.18.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jgyates committed Oct 1, 2023
1 parent 55c4883 commit 95596a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions static/genmon.js
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ function DisplaySettings(){
return regex.test(value);
},
InternationalPhone: function(input, value, arg1, arg2) {
var regex = RegExp('^(\\+(\\d{1,3}))?((\\(\\d{1,4}\\))|(\\d{1,3}))?(\\s|-)?(\\d+(\\s?|-?))+$', 'g');
var regex = RegExp('^[0-9\-().+\s]{10,20}$', 'g');
return regex.test(value);
},
UnixFile: function(input, value, arg1, arg2) {
Expand Down Expand Up @@ -2279,7 +2279,7 @@ function DisplayAddons(){
return regex.test(value);
},
InternationalPhone: function(input, value, arg1, arg2) {
var regex = RegExp('^(\\+(\\d{1,3}))?((\\(\\d{1,4}\\))|(\\d{1,3}))?(\\s|-)?(\\d+(\\s?|-?))+$', 'g');
var regex = RegExp('^[0-9\-().+\s]{10,20}$', 'g');
return regex.test(value);
},
UnixFile: function(input, value, arg1, arg2) {
Expand Down Expand Up @@ -3110,7 +3110,7 @@ function DisplayAdvancedSettings(){
return regex.test(value);
},
InternationalPhone: function(input, value, arg1, arg2) {
var regex = RegExp('^(\\+(\\d{1,3}))?((\\(\\d{1,4}\\))|(\\d{1,3}))?(\\s|-)?(\\d+(\\s?|-?))+$', 'g');
var regex = RegExp('^[0-9\-().+\s]{10,20}$', 'g');
return regex.test(value);
},
UnixFile: function(input, value, arg1, arg2) {
Expand Down
16 changes: 8 additions & 8 deletions static/libraries.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95596a5

Please sign in to comment.