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:
Wolfgang Sourdeau
2007-06-11 21:25:43 +00:00
parent a9d8a855db
commit 14f101603c
2 changed files with 20 additions and 3 deletions
+8
View File
@@ -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
+12 -3
View File
@@ -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