mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-02 10:05:26 +00:00
Monotone-Parent: ec34f69c125d8e9916f15c19dd058a1d131e2017
Monotone-Revision: 5a5a4085f8187ce57fba2427fcda4c0671ade644 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-11T21:25:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2007-06-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
|
||||
-isAllDay]): returns YES if the "hm" url parameter is set to
|
||||
"allday".
|
||||
([UIxAppointmentEditor -defaultAction]): if isAllDay, the enddate
|
||||
is displayed one day earlier.
|
||||
|
||||
2007-06-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Scheduler/UIxCalListingActions.m ([UIxCalListingActions
|
||||
|
||||
@@ -69,7 +69,12 @@
|
||||
/* icalendar values */
|
||||
- (BOOL) isAllDay
|
||||
{
|
||||
return isAllDay;
|
||||
NSString *hm;
|
||||
|
||||
hm = [self queryParameterForKey: @"hm"];
|
||||
|
||||
return (isAllDay
|
||||
|| (hm && [hm isEqualToString: @"allday"]));
|
||||
}
|
||||
|
||||
- (void) setIsAllDay: (BOOL) newIsAllDay
|
||||
@@ -249,7 +254,11 @@
|
||||
if (event)
|
||||
{
|
||||
startDate = [event startDate];
|
||||
endDate = [event endDate];
|
||||
isAllDay = [event isAllDay];
|
||||
if (isAllDay)
|
||||
endDate = [[event endDate] dateByAddingYears: 0 months: 0 days: -1];
|
||||
else
|
||||
endDate = [event endDate];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -304,7 +313,7 @@
|
||||
iCalString = [[clientObject calendar: NO] versitString];
|
||||
[clientObject saveContentString: iCalString];
|
||||
|
||||
return [self jsCloseWithRefreshMethod: @"refreshAppointmentsAndDisplay()"];
|
||||
return [self jsCloseWithRefreshMethod: @"refreshEventsAndDisplay()"];
|
||||
}
|
||||
|
||||
- (BOOL) shouldTakeValuesFromRequest: (WORequest *) request
|
||||
|
||||
Reference in New Issue
Block a user