Web Calendar event popup: Removed email address in calendar name.

Monotone-Parent: 1bafb5734a88e44a2e54a0ecf6daae5cee2a0f57
Monotone-Revision: 82d384b289434f966b52082261ffc04d26143abc

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-01-07T19:24:18
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-01-07 19:24:18 +00:00
parent bfd2d9f070
commit 731875092c
+2 -1
View File
@@ -388,7 +388,8 @@ function onViewEventCallback(http) {
var paras = div.getElementsByTagName("p");
if (data["calendar"].length) {
paras[0].down("SPAN", 1).update(data["calendar"]);
// Remove owner email from calendar's name
paras[0].down("SPAN", 1).update(data["calendar"].replace(/ \<.*\>/, ""));
paras[0].show();
} else
paras[0].hide();