mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
* Mail: Fix opening mailto: link in html mail causes connection error
This commit is contained in:
parent
6d467e33ed
commit
ec77cf0ff6
@ -19,7 +19,7 @@ jQuery(function()
|
|||||||
// active mailto: links with mail compose
|
// active mailto: links with mail compose
|
||||||
if (this.href.substr(0, 7) == 'mailto:')
|
if (this.href.substr(0, 7) == 'mailto:')
|
||||||
{
|
{
|
||||||
egw(window).open(null, 'mail', 'add', {send_to: jQuery.base64Encode(this.href.substr(7).replace('%40', '@'))});
|
top.egw.open(null, 'mail', 'add', {send_to: jQuery.base64Encode(this.href.substr(7).replace('%40', '@'))});
|
||||||
|
|
||||||
return false; // cant do event.stopImediatePropagation() in on!
|
return false; // cant do event.stopImediatePropagation() in on!
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user