Monotone-Parent: 5352547fba6d82f422f3bb300b39427b9ebf5653

Monotone-Revision: 07ab3efb7fca7b90bb3250e66fef539e6ccac57c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-01-21T17:01:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-01-21 17:01:06 +00:00
parent 63d79c031d
commit 3567a3f6d5
7 changed files with 25 additions and 10 deletions
+7 -5
View File
@@ -1739,14 +1739,16 @@ function updateCalendarProperties(calendarID, calendarName, calendarColor) {
var idParts = calendarID.split(":");
var folderName = idParts[1].split("/")[1];
var nodeID;
if (idParts[0] != UserLogin)
nodeID = "/" + idParts[0] + "_" + folderName;
else
nodeID = "/" + idParts[0].asCSSIdentifier() + "_" + folderName;
else {
nodeID = "/" + folderName;
// log("nodeID: " + nodeID);
var calendarNode = $(nodeID);
var childNodes = calendarNode.childNodes;
childNodes[childNodes.length-1].nodeValue = calendarName;
var calendarNode = $(nodeID);
var childNodes = calendarNode.childNodes;
childNodes[childNodes.length-1].nodeValue = calendarName;
}
appendStyleElement(nodeID, calendarColor);
}