mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 06:35:26 +00:00
Monotone-Parent: 1df5dfce7af858e1373fbc29363e661317b88be7
Monotone-Revision: c9d2f25bdcfea3f8f41656cea282a4a8b50b02be Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-15T01:54:23 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -507,11 +507,15 @@ function appendAddressBook(name, folder) {
|
||||
folder = accessToSubscribedFolder(folder);
|
||||
else
|
||||
folder = "/" + name;
|
||||
var li = document.createElement("li");
|
||||
$("contactFolders").appendChild(li);
|
||||
li.setAttribute("id", folder);
|
||||
li.appendChild(document.createTextNode(name));
|
||||
setEventsOnContactFolder(li);
|
||||
if ($(folder))
|
||||
window.alert(clabels["You have already subscribed to that folder!"]);
|
||||
else {
|
||||
var li = document.createElement("li");
|
||||
$("contactFolders").appendChild(li);
|
||||
li.setAttribute("id", folder);
|
||||
li.appendChild(document.createTextNode(name));
|
||||
setEventsOnContactFolder(li);
|
||||
}
|
||||
}
|
||||
|
||||
function newFolderCallback(http) {
|
||||
|
||||
Reference in New Issue
Block a user