mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user