Monotone-Parent: d20b6efa6a8c415c1db8ca849c311e740a312646

Monotone-Revision: 5d08c3e624999be469da2fd6046209e122529287

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-11-06T22:34:42
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-11-06 22:34:42 +00:00
parent 54b6c29882
commit 96b00f426c
5 changed files with 28 additions and 24 deletions
+4 -1
View File
@@ -333,6 +333,9 @@ function onToolbarWriteToSelectedContacts(event) {
var rows = contactsList.getSelectedRowsId();
var rowsWithEmail = 0;
if (rows.length == 0)
return false;
for (var i = 0; i < rows.length; i++) {
var emailCell = $(rows[i]).down('td', 1);
if (emailCell.firstChild) { // .nodeValue is the contact email address
@@ -341,7 +344,7 @@ function onToolbarWriteToSelectedContacts(event) {
+ "/" + rows[i] + "/write");
}
}
if (rowsWithEmail == 0) {
window.alert(labels["The selected contact has no email address."]);
}