This commit is contained in:
Alexandre Cloutier committed 2014-08-26 13:41:58 -04:00
commit 1ab3a588f3
6 files changed
+46 -43

No files matched your search

+2 -2
View File
@@ -3332,7 +3332,7 @@ function updateCalendarProperties(calendarID, calendarName, calendarColor) {
// log("nodeID: " + nodeID);
var calendarNode = $(nodeID);
var displayNameNode = calendarNode.childNodesWithTag("span")[0];
displayNameNode.innerHTML = calendarName;
displayNameNode.innerHTML = calendarName.escapeHTML();
appendStyleElement(nodeID, calendarColor);
}
@@ -3516,7 +3516,7 @@ function appendCalendar(folderName, folderPath) {
li.appendChild(colorBox);
var displayName = document.createElement("span");
displayName.appendChild(document.createTextNode(folderName));
displayName.appendChild(document.createTextNode(folderName.escapeHTML()));
li.appendChild(displayName);
$(colorBox).addClassName("colorBox");