Merge pull request #78 from akhileshdarjee/master
Email id validation issue fixed
This commit is contained in:
commit
087c61ef57
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ function cint(v, def) {
|
|||
return v;
|
||||
}
|
||||
function validate_email(txt) {
|
||||
return wn.utils.validate_type(txt, email);
|
||||
return wn.utils.validate_type(txt, "email");
|
||||
}
|
||||
function validate_spl_chars(txt) {
|
||||
return wn.utils.validate_type(txt, "alphanum")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue