Commit 5db1d8d3 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

ActivityTool: stay in ZMI when clicking cancel

parent e297715f
......@@ -1316,7 +1316,7 @@ class ActivityTool (Folder, UniqueObject):
self.flush(object_path,method_id=method_id,invoke=0)
if REQUEST is not None:
return REQUEST.RESPONSE.redirect('%s/%s' % (
self.absolute_url(), 'view'))
self.absolute_url(), 'manageActivities'))
security.declareProtected( CMFCorePermissions.ManagePortal, 'manageDelete' )
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