Fix when subscribing to a calendar in the web interface

Monotone-Parent: 13cce380f729a93828b7261702643a96f1d6f502
Monotone-Revision: 09e8d7e8a0e862b146d8d9bab41abd1661bb95b2

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-07-08T21:13:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-07-08 21:13:06 +00:00
parent 8a62ea4693
commit b27e32a402

View File

@@ -1814,7 +1814,6 @@ function appendCalendar(folderName, folderPath) {
calendarList.insertBefore(li, items[i]);
else
calendarList.appendChild(li);
$(li).writeAttribute("id", folderPath);
$(li).writeAttribute("owner", owner);
@@ -1832,9 +1831,9 @@ function appendCalendar(folderName, folderPath) {
$(colorBox).addClassName("colorBox");
$(colorBox).addClassName('calendarFolder' + folderPath.substr(1));
// Check the checkbox (required for IE)
$(li).down("input.checkBox").checked = true;
li.getElementsByTagName("input")[0].checked = true;
// Register events (doesn't work with Safari)
setEventsOnCalendar($(checkBox), $(li));