mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 13:55:23 +00:00
See ChangeLog
Monotone-Parent: 5a6d160e6f9616edb725a40e08f24f0f0bf539b0 Monotone-Revision: c9c54e20cc8e010c29ef8e5fa1cbd039c35e5344 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-07-20T18:48:28
This commit is contained in:
@@ -1790,7 +1790,11 @@ function newContactFromEmail(event) {
|
||||
}
|
||||
|
||||
function onEmailTo(event) {
|
||||
openMailTo(this.innerHTML.strip());
|
||||
var s = this.innerHTML.strip();
|
||||
if (!/@/.test(s)) {
|
||||
s += ' <' + this.href.substr(7) + '>';
|
||||
}
|
||||
openMailTo(s);
|
||||
Event.stop(event);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user