mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user