mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-23 13:59:32 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user