diff --git a/ChangeLog b/ChangeLog index 649e17f27..c730438b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-22 Francis Lachapelle + + * UI/Scheduler/UIxAppointmentEditor.m (-viewAction): added + calendar name in returned dictionary. + 2009-12-21 Wolfgang Sourdeau * SoObjects/SOGo/SOGoUserFolder.m (-fetchContentObjectNames): diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index 2f4ce85c2..d3afc1f4a 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -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", diff --git a/UI/Templates/SchedulerUI/UIxCalMainView.wox b/UI/Templates/SchedulerUI/UIxCalMainView.wox index 27469e8c1..1b6f2339d 100644 --- a/UI/Templates/SchedulerUI/UIxCalMainView.wox +++ b/UI/Templates/SchedulerUI/UIxCalMainView.wox @@ -92,8 +92,9 @@