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:
Francis Lachapelle
2008-07-08 12:17:53 +00:00
parent a19563f78b
commit b828996f1e
2 changed files with 4 additions and 8 deletions
+4 -4
View File
@@ -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];
-4
View File
@@ -504,10 +504,6 @@ function onConfirmContactSelection(event) {
preventDefault(event);
}
function onContactMailTo(node) {
return openMailTo(node.innerHTML);
}
function refreshContacts(contactId) {
refreshCurrentFolder();
cachedContacts[currentAddressBook + "/" + contactId] = null;