Commit 6d9f562a authored by Jérome Perrin's avatar Jérome Perrin

ActivityTool: stay in ZMI when clicking cancel

parent e6419542
...@@ -1316,7 +1316,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -1316,7 +1316,7 @@ class ActivityTool (Folder, UniqueObject):
self.flush(object_path,method_id=method_id,invoke=0) self.flush(object_path,method_id=method_id,invoke=0)
if REQUEST is not None: if REQUEST is not None:
return REQUEST.RESPONSE.redirect('%s/%s' % ( return REQUEST.RESPONSE.redirect('%s/%s' % (
self.absolute_url(), 'view')) self.absolute_url(), 'manageActivities'))
security.declareProtected( CMFCorePermissions.ManagePortal, 'manageDelete' ) security.declareProtected( CMFCorePermissions.ManagePortal, 'manageDelete' )
def manageDelete(self, message_uid_list, activity, REQUEST=None): def manageDelete(self, message_uid_list, activity, REQUEST=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment