See ChangeLog

Monotone-Parent: cc50967cd5623fad93774ada2fe5af98c14b2a98
Monotone-Revision: 87f8dab4d95e1de1c7c969e371770ac2d74b83b1

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-10-26T15:52:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-10-26 15:52:45 +00:00
parent 59ed1ace53
commit bb283c5655
2 changed files with 12 additions and 2 deletions
+4 -2
View File
@@ -475,7 +475,7 @@ function onContactDeleteEventCallback(http) {
}
else if (parseInt(http.status) == 403) {
var row = $(http.callbackData);
var displayName = row.down("TD.displayName").firstChild.nodeValue.trim();
var displayName = row.readAttribute("contactname");
Contact.deleteContactsRequestCount--;
window.alert(labels["You cannot delete the card of \"%{0}\"."].formatted(displayName));
}
@@ -935,7 +935,9 @@ function setEventsOnAddressBook(folder) {
node.observe("mousedown", listRowMouseDownHandler);
node.observe("click", onRowClick);
node.observe("dblclick", onAddressBookModify);
if (UserLogin == node.readAttribute("owner"))
// Only the owner of the addressbook can rename it
node.observe("dblclick", onAddressBookModify);
}
function onAddressBookModify(event) {