mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 9afbcfbc31ab96049b1a603edff5f9ed02a4a00d
Monotone-Revision: d223c93a6328f7801ecce330c478fbaff42a760a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-07T23:11:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -311,13 +311,6 @@ function onMenuEditContact(event) {
|
||||
|
||||
function onMenuWriteToContact(event) {
|
||||
var contactId = document.menuTarget.getAttribute('id');
|
||||
var contactRow = $(contactId);
|
||||
var emailCell = contactRow.down('td', 1);
|
||||
|
||||
if (!emailCell.firstChild) { // .nodeValue is the contact email address
|
||||
window.alert(labels["The selected contact has no email address."]);
|
||||
return false;
|
||||
}
|
||||
|
||||
openMailComposeWindow(ApplicationBaseURL + currentContactFolder
|
||||
+ "/" + contactId + "/write");
|
||||
@@ -327,8 +320,7 @@ function onMenuWriteToContact(event) {
|
||||
}
|
||||
|
||||
function onMenuAIMContact(event) {
|
||||
var contactId = document.menuTarget.getAttribute('id');
|
||||
var contactRow = $(contactId);
|
||||
var contactRow = $(document.menuTarget.getAttribute('id'));
|
||||
var aimCell = contactRow.down('td', 2);
|
||||
|
||||
window.location.href = "aim:goim?ScreenName=" + aimCell.firstChild.nodeValue;
|
||||
|
||||
Reference in New Issue
Block a user