mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 02:10:14 +01:00
Mail: Respect force_mailto preference when clicking on email tags
This commit is contained in:
parent
687cf02dc8
commit
1c808425ca
@ -6372,6 +6372,13 @@ app.classes.mail = AppJS.extend(
|
||||
*/
|
||||
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