mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
Api: Fix reference to et2_url EMAIL_PREG
This commit is contained in:
parent
3de7d34844
commit
da806d33f5
@ -201,7 +201,7 @@ var et2_url = /** @class */ (function (_super_1) {
|
||||
}
|
||||
break;
|
||||
case "url-email":
|
||||
if (!e.data.EMAIL_PREG.test(value) ||
|
||||
if (!et2_url.EMAIL_PREG.test(value) ||
|
||||
// If they use Text <email>, make sure the <> match
|
||||
(value.indexOf("<") > 0 && value.indexOf(">") != value.length - 1) ||
|
||||
(value.indexOf(">") > 0 && value.indexOf("<") < 0)) {
|
||||
|
@ -253,7 +253,7 @@ class et2_url extends et2_textbox
|
||||
}
|
||||
break;
|
||||
case "url-email":
|
||||
if(!e.data.EMAIL_PREG.test(value) ||
|
||||
if(!et2_url.EMAIL_PREG.test(value) ||
|
||||
// If they use Text <email>, make sure the <> match
|
||||
(value.indexOf("<") > 0 && value.indexOf(">") != value.length-1) ||
|
||||
(value.indexOf(">") > 0 && value.indexOf("<") < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user