Monotone-Parent: 46747edd0dcb4ecc9b939b9c8be25185efe65144

Monotone-Revision: 772069a4679fa8b05adc4dc49b2087230a05669c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-12-17T15:29:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-12-17 15:29:06 +00:00
parent 76c907fc65
commit 0f74a8d504
12 changed files with 67 additions and 24 deletions
+3 -2
View File
@@ -344,7 +344,8 @@
[newEvent addObject: [self _formattedDateForSeconds: interval
forAllDay: isAllDay]];
participants = state = nil;
participants = nil;
state = nil;
if ([[oldEvent objectAtIndex: 9] length] > 0 &&
[[oldEvent objectAtIndex: 10] length] > 0) {
participants = [[oldEvent objectAtIndex: 9] componentsSeparatedByString: @"\n"];
@@ -389,7 +390,7 @@
ascending = [[context request] formValueForKey: @"asc"];
if (![ascending boolValue])
newEvents = [newEvents reversedArray];
[newEvents reverseArray];
return [self _responseWithData: newEvents];
}