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:
Wolfgang Sourdeau
2008-02-07 23:11:50 +00:00
parent 4485c71cd0
commit 796938ba6e
+1 -9
View File
@@ -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;