mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +00:00
Monotone-Parent: c1839d697a1985c08086f1fe770eda5416825732
Monotone-Revision: 289038fb869ac3c26fe39b672345521ddb96b4c9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-15T21:07:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -450,9 +450,9 @@ function openMailbox(mailbox, reload, idx) {
|
||||
messageContent.update();
|
||||
lastClickedRow = -1; // from generic.js
|
||||
}
|
||||
|
||||
|
||||
var currentMessage;
|
||||
|
||||
|
||||
if (!idx) {
|
||||
currentMessage = Mailer.currentMessages[mailbox];
|
||||
if (currentMessage) {
|
||||
@@ -1033,13 +1033,13 @@ function newContactFromEmail(event) {
|
||||
|
||||
var email = extractEmailAddress(mailto);
|
||||
var c_name = extractEmailName(mailto);
|
||||
if (email.length > 0)
|
||||
{
|
||||
var url = UserFolderURL + "Contacts/new?contactEmail=" + email;
|
||||
if (c_name)
|
||||
url += "&contactFN=" + c_name;
|
||||
openContactWindow(url);
|
||||
}
|
||||
if (email.length > 0) {
|
||||
var url = (UserFolderURL + "Contacts/personal/newcontact?contactEmail="
|
||||
+ encodeURI(email));
|
||||
if (c_name)
|
||||
url += "&contactFN=" + c_name;
|
||||
openContactWindow(url);
|
||||
}
|
||||
|
||||
return false; /* stop following the link */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user