mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: 1c7442ef9f84ce58c394c1539163f94d731b3545
Monotone-Revision: 716528a4c99649c701a54366e47e2396b887aa1a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-07-08T12:17:53 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -89,8 +89,8 @@
|
||||
email = [card preferredEMail];
|
||||
if ([email length] > 0)
|
||||
mailTo = [NSString stringWithFormat: @"<a href=\"mailto:%@\""
|
||||
@" onclick=\"return onContactMailTo(this);\">"
|
||||
@"%@</a>", email, email];
|
||||
@" onclick=\"return openMailTo('%@ <%@>');\">"
|
||||
@"%@</a>", email, [card fn], email, email];
|
||||
else
|
||||
mailTo = nil;
|
||||
|
||||
@@ -121,8 +121,8 @@
|
||||
|
||||
if ([email caseInsensitiveCompare: [card preferredEMail]] != NSOrderedSame)
|
||||
mailTo = [NSString stringWithFormat: @"<a href=\"mailto:%@\""
|
||||
@" onclick=\"return onContactMailTo(this);\">"
|
||||
@"%@</a>", email, email];
|
||||
@" onclick=\"return openMailTo('%@ <%@>');\">"
|
||||
@"%@</a>", email, [card fn], email, email];
|
||||
}
|
||||
|
||||
[emails release];
|
||||
|
||||
@@ -504,10 +504,6 @@ function onConfirmContactSelection(event) {
|
||||
preventDefault(event);
|
||||
}
|
||||
|
||||
function onContactMailTo(node) {
|
||||
return openMailTo(node.innerHTML);
|
||||
}
|
||||
|
||||
function refreshContacts(contactId) {
|
||||
refreshCurrentFolder();
|
||||
cachedContacts[currentAddressBook + "/" + contactId] = null;
|
||||
|
||||
Reference in New Issue
Block a user