Monotone-Parent: 30d54dc507398dda32b17cb2c4b9c8e6b601087d

Monotone-Revision: 02e6aaa1be72203deecd9d1b0f94d9491729cafc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-09-16T20:25:47
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-09-16 20:25:47 +00:00
parent d1bfb3572d
commit 9e29b464cb
14 changed files with 98 additions and 81 deletions
@@ -46,7 +46,7 @@ function addUserLineToTree(tree, parent, line) {
ResourcesURL + '/abcard.gif',
ResourcesURL + '/abcard.gif');
if (window.opener.userFolderType != "user") {
tree.add(parent + 1, parent, label ("Please wait..."), 0, '#', null,
tree.add(parent + 1, parent, getLabel("Please wait..."), 0, '#', null,
null, '', '', icon, icon);
}
}
@@ -184,7 +184,7 @@ function addFolderBranchToTree(tree, user, folder, nodeId, subId, isLast) {
function addFolderNotFoundNode (tree, nodeId) {
var icon = ResourcesURL + '/icon_unread.gif';
var node = new Node(1, nodeId, label ("No possible subscription"), 0, '#',
var node = new Node(1, nodeId, getLabel("No possible subscription"), 0, '#',
null, null, '', '', icon, icon);
node._ls = true;
return tree.node(node, (nodeId + 1));
@@ -216,7 +216,7 @@ function onConfirmFolderSelection(event) {
var data = { folderName: folderName, folder: folder, window: window };
if (parent$(accessToSubscribedFolder(folder)))
window.alert(label ("You have already subscribed to that folder!"));
window.alert(getLabel("You have already subscribed to that folder!"));
else
window.opener.subscribeToFolder(window.opener.userFolderCallback, data);
}