Fix encoding of new calendars + new subscriptions
parent
e044476772
commit
74bd96e5a6
1
NEWS
1
NEWS
|
@ -9,6 +9,7 @@ Enchancements
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- fixed crasher when subscribing users to resources (#2892)
|
- fixed crasher when subscribing users to resources (#2892)
|
||||||
|
- fixed encoding of new calendars and new subscriptions (JavaScript only)
|
||||||
|
|
||||||
2.2.7 (2014-07-30)
|
2.2.7 (2014-07-30)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -3331,7 +3331,7 @@ function updateCalendarProperties(calendarID, calendarName, calendarColor) {
|
||||||
// log("nodeID: " + nodeID);
|
// log("nodeID: " + nodeID);
|
||||||
var calendarNode = $(nodeID);
|
var calendarNode = $(nodeID);
|
||||||
var displayNameNode = calendarNode.childNodesWithTag("span")[0];
|
var displayNameNode = calendarNode.childNodesWithTag("span")[0];
|
||||||
displayNameNode.innerHTML = calendarName;
|
displayNameNode.innerHTML = calendarName.escapeHTML();
|
||||||
|
|
||||||
appendStyleElement(nodeID, calendarColor);
|
appendStyleElement(nodeID, calendarColor);
|
||||||
}
|
}
|
||||||
|
@ -3515,7 +3515,7 @@ function appendCalendar(folderName, folderPath) {
|
||||||
li.appendChild(colorBox);
|
li.appendChild(colorBox);
|
||||||
|
|
||||||
var displayName = document.createElement("span");
|
var displayName = document.createElement("span");
|
||||||
displayName.appendChild(document.createTextNode(folderName));
|
displayName.appendChild(document.createTextNode(folderName.escapeHTML()));
|
||||||
li.appendChild(displayName);
|
li.appendChild(displayName);
|
||||||
|
|
||||||
$(colorBox).addClassName("colorBox");
|
$(colorBox).addClassName("colorBox");
|
||||||
|
|
Loading…
Reference in New Issue