]> err.no Git - scalable-opengroupware.org/blobdiff - SOGo/UI/Scheduler/UIxAppointmentEditor.m
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@237 d1b88da0-ebda-0310-925b-ed51d...
[scalable-opengroupware.org] / SOGo / UI / Scheduler / UIxAppointmentEditor.m
index 9d04485a99382835cb65045db2c5b39b0d19eb38..24f89d739bd74160c3df02af7831e57b9120d0a1 100644 (file)
 
 - (id)saveAction {
   SOGoAppointment *apt;
-  NSString        *uri;
-  NSException *ex;
-  NSString    *content;
+  NSException     *ex;
+  NSString        *content;
   
   if (![self isWriteableClientObject]) {
     /* return 400 == Bad Request */
     return self;
   }
   
+#warning TODO: implement proper "multi-saves"
   ex = [[self clientObject] saveContentString:content];
   if (ex != nil) {
     [self setErrorText:[ex reason]];
     return self;
   }
   
-  uri = [self _completeURIForMethod:@".."];
-  return [self redirectToLocation:uri];
+  return [self redirectToLocation:[self _completeURIForMethod:@".."]];
 }
 
 @end /* UIxAppointmentEditor */