forked from extern/egroupware
Replace & with placeholder according to mailto string processing
This commit is contained in:
parent
9317cdd216
commit
19b8c555ef
@ -864,14 +864,14 @@ app.classes.addressbook = AppJS.extend(
|
|||||||
switch (action.id)
|
switch (action.id)
|
||||||
{
|
{
|
||||||
case "add_to_to":
|
case "add_to_to":
|
||||||
egw.open_link('mailto:' + emails.join(','));
|
egw.open_link('mailto:' + emails.join(',').replace(/&/g, '__AMPERSAND__'));
|
||||||
break;
|
break;
|
||||||
case "add_to_cc":
|
case "add_to_cc":
|
||||||
egw.open_link('mailto:' + '?cc=' + emails.join(','));
|
egw.open_link('mailto:' + '?cc=' + emails.join(',').replace(/&/g, '__AMPERSAND__'));
|
||||||
//egw.mailto('mailto:');
|
//egw.mailto('mailto:');
|
||||||
break;
|
break;
|
||||||
case "add_to_bcc":
|
case "add_to_bcc":
|
||||||
egw.open_link('mailto:' + '?bcc=' + emails.join(','));
|
egw.open_link('mailto:' + '?bcc=' + emails.join(',').replace(/&/g, '__AMPERSAND__'));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user