enhance free email
This commit is contained in:
parent
b9a082f774
commit
1bc8765291
@ -6692,6 +6692,10 @@ class Form
|
|||||||
text: $.trim(match[1]) + " <" + match[2] + ">"
|
text: $.trim(match[1]) + " <" + match[2] + ">"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (params.term.indexOf("<") >= 0) {
|
||||||
|
// Return null to disable tag creation
|
||||||
|
return null;
|
||||||
|
}
|
||||||
var match = params.term.match(new RegExp("^" + REGEX_EMAIL + "$", "i"));
|
var match = params.term.match(new RegExp("^" + REGEX_EMAIL + "$", "i"));
|
||||||
// console.log(match);
|
// console.log(match);
|
||||||
if (match !== null) {
|
if (match !== null) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user