Fix for bugs #2368 and #2369

This commit is contained in:
Ludovic Marcotte
2013-07-16 11:31:08 -04:00
parent 03553980fd
commit e08ebd2390
5 changed files with 14 additions and 8 deletions

View File

@@ -748,14 +748,14 @@ function onViewEventCallback(http) {
para = $(paras[1]);
if (data["calendar"].length) {
// Remove owner email from calendar's name
para.down("SPAN", 1).update(data["calendar"].replace(/ \<.*\>/, ""));
para.down("SPAN", 1).update(data["calendar"].escapeHTML());
para.show();
} else
para.hide();
para = $(paras[2]);
if (data["location"].length) {
para.down("SPAN", 1).update(data["location"]);
para.down("SPAN", 1).update(data["location"].escapeHTML());
para.show();
} else
para.hide();