mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
filter @ from n_fn when trying to add the email via addressbook.email dialog
This commit is contained in:
parent
8a293796e1
commit
7ffdb2f0f4
@ -401,6 +401,11 @@ class addressbook_ui extends addressbook_bo
|
||||
function addEmail(email)
|
||||
{
|
||||
var to = 'to';
|
||||
splitter = email.indexOf(' <');
|
||||
namepart = email.substring(0,splitter);
|
||||
emailpart = email.substring(splitter);
|
||||
email = namepart.replace(/@/g,' ')+emailpart;
|
||||
|
||||
if (document.getElementById('exec[nm][to][cc]').checked == true)
|
||||
{
|
||||
to = 'cc';
|
||||
|
Loading…
Reference in New Issue
Block a user