mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Mail: Respect force_mailto preference when clicking on email tags
This commit is contained in:
parent
5e6b11e73c
commit
a4ea9dda34
@ -6369,6 +6369,13 @@ app.classes.mail = AppJS.extend(
|
|||||||
*/
|
*/
|
||||||
onclickCompose(_node, _address)
|
onclickCompose(_node, _address)
|
||||||
{
|
{
|
||||||
egw.open_link('mailto:'+_address.value);
|
if (_address.value && this.egw.preference('force_mailto', 'addressbook') != '1')
|
||||||
|
{
|
||||||
|
this.egw.open_link('mailto:' + _address.value);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
window.open("mailto:" + _address.value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user