Monotone-Parent: 77b66d1c57c68b5b16ff0e72dbda315edaeed590

Monotone-Revision: 15215e74bf0a86641e93f5887afd6597933439fc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-16T22:14:50
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-10-16 22:14:50 +00:00
parent 206ba45c65
commit 93005e568c
5 changed files with 23 additions and 7 deletions
@@ -44,3 +44,5 @@
"Unable to rename that folder!" = "Unable to rename that folder!";
"You have already subscribed to that folder!"
= "You have already subscribed to that folder!";
"The user rights cannot be edited for this object!"
= "The user rights cannot be edited for this object!";
@@ -41,3 +41,5 @@
"Unable to rename that folder!" = "Impossible de renommer ce dossier.";
"You have already subscribed to that folder!"
= "Vous êtes déja abonné à ce dossier.";
"The user rights cannot be edited for this object!"
= "Les droits sur cet objet ne peuvent pas être édités.";
@@ -38,3 +38,5 @@
"Unable to rename that folder!" = "Unable to rename that folder!";
"You have already subscribed to that folder!"
= "You have already subscribed to that folder!";
"The user rights cannot be edited for this object!"
= "The user rights cannot be edited for this object!";
+9 -3
View File
@@ -708,10 +708,16 @@ function folderRenameCallback(http) {
function onMenuSharing(event) {
var folders = $("contactFolders");
var selected = folders.getSelectedNodes()[0];
var title = this.innerHTML;
var url = URLForFolderID(selected.getAttribute("id"));
var owner = selected.getAttribute("owner");
if (owner == "nobody")
window.alert(clabels["The user rights cannot be"
+ " edited for this object!"]);
else {
var title = this.innerHTML;
var url = URLForFolderID(selected.getAttribute("id"));
openAclWindow(url + "/acls", title);
openAclWindow(url + "/acls", title);
}
}
function getMenus() {
+8 -4
View File
@@ -60,10 +60,14 @@ function openAddressbook(sender) {
function onMenuSharing(event) {
var folderID = document.menuTarget.getAttribute("dataname");
var urlstr = URLForFolderID(folderID) + "/acls";
preventDefault(event);
openAclWindow(urlstr);
var type = document.menuTarget.getAttribute("datatype");
if (type == "additional")
window.alert(clabels["The user rights cannot be"
+ " edited for this object!"]);
else {
var urlstr = URLForFolderID(folderID) + "/acls";
openAclWindow(urlstr);
}
}
/* mail list DOM changes */