]> err.no Git - scalable-opengroupware.org/commitdiff
fixed redirect in deleteAction
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 16 Aug 2004 12:02:23 +0000 (12:02 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 16 Aug 2004 12:02:23 +0000 (12:02 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@254 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/UI/Scheduler/ChangeLog
SOGo/UI/Scheduler/UIxAppointmentView.m
SOGo/UI/Scheduler/Version

index 61287cd7b63f4969c6d90188f96f03d60f3fe948..557b2a5e69bd27fac9e7449e18d876671b95d177 100644 (file)
@@ -1,5 +1,9 @@
 2004-08-16  Marcus Mueller  <znek@mulle-kybernetik.com>
 
+       * v0.9.60
+
+       * UIxAppointmentView.m: fixed redirect in deleteAction.
+
        * v0.9.59
 
        * UIxTimeDateControl.m: subclasses from UIxComponent now, hence
index dc3819a28736d3609aa394c0eda0d081843ccba6..63ac54bd6964b3e29d18480d974a9a3aa739500d 100644 (file)
 
 - (id)deleteAction {
   NSException *ex;
-  
+  id url;
+
   if ([self appointment] == nil) {
     return [NSException exceptionWithHTTPStatus:404 /* Not Found */
                        reason:@"could not locate appointment"];
     return ex;
   }
   
-#warning TODO: fix redirect
-  return [[[self clientObject] container] baseURLInContext:[self context]];
+  url = [[[self clientObject] container] baseURLInContext:[self context]];
+  return [self redirectToLocation:url];
 }
 
 @end /* UIxAppointmentView */
index 1cf2745de4ee8d0e11b3da7b06f1733141ca7f2d..491c78134c924d6fbc6df1f9b9fe717a75d4c763 100644 (file)
@@ -1,6 +1,6 @@
 # $Id$
 
-SUBMINOR_VERSION:=59
+SUBMINOR_VERSION:=60
 
 # v0.9.41 requires libNGObjWeb     v4.2.431
 # v0.9.31 requires libWEExtensions v4.2.52