See ChangeLog (fix for bug #234)

Monotone-Parent: c6211d892652356a678ac26ac4f287499fbe91ea
Monotone-Revision: 2c0e8a6a410ecb7bc3984b724b271bf6bbdb8947

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-12-22T21:07:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-12-22 21:07:06 +00:00
parent 843af28d1a
commit 14201aa76d
3 changed files with 17 additions and 2 deletions
+9
View File
@@ -455,6 +455,14 @@
[eventDate setTimeZone: timeZone];
co = [self clientObject];
if (!componentCalendar)
{
componentCalendar = [co container];
if ([componentCalendar isKindOfClass: [SOGoCalendarComponent class]])
componentCalendar = [componentCalendar container];
[componentCalendar retain];
}
resetAlarm = [[[context request] formValueForKey: @"resetAlarm"] boolValue];
if (resetAlarm && [event hasAlarms] && ![event hasRecurrenceRules])
{
@@ -483,6 +491,7 @@
}
}
data = [NSDictionary dictionaryWithObjectsAndKeys:
[componentCalendar displayName], @"calendar",
[event tag], @"component",
[dateFormatter formattedDate: eventDate], @"startDate",
[dateFormatter formattedTime: eventDate], @"startTime",