mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-10 02:45:08 +00:00
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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user