Monotone-Parent: 2c4979aac05ff59d2bca154679eb3ebc8df8cd8f

Monotone-Revision: 510d3e8a2a93557f4bdd594453d09b724e3b54d7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-11T18:56:04
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-10-11 18:56:04 +00:00
parent 5147e8a004
commit 5101fb794c
2 changed files with 12 additions and 1 deletions
+5
View File
@@ -1,5 +1,10 @@
2006-10-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
-saveUrl]): returns the url needed to POST the new form to.
redirect the user to <aptid>/editAsAppointment instead of /edit,
so that SOGoAppointmentFolder can return the correct object type.
* SoObjects/SOGo/NSObject+AptComparison.m ([NSObject
-compareAptsAscending:_other]): accept empty start or end dates.
+7 -1
View File
@@ -647,7 +647,7 @@
reason:@"could not create a unique ID"];
}
method = [NSString stringWithFormat:@"Calendar/%@/edit", objectId];
method = [NSString stringWithFormat:@"Calendar/%@/editAsAppointment", objectId];
method = [[self userFolderPath] stringByAppendingPathComponent:method];
/* check if participants have already been provided */
@@ -1038,6 +1038,12 @@
return [self redirectToLocation:[self _completeURIForMethod:@".."]];
}
- (NSString *) saveUrl
{
return [NSString stringWithFormat: @"%@/saveAsAppointment",
[[self clientObject] baseURL]];
}
- (id)acceptAction {
return [self acceptOrDeclineAction:YES];
}