Commit 4a9258a7 authored by Christophe Dumez's avatar Christophe Dumez

- Now we are not redirected to portal_templates after updating the repository list


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8803 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8492bb30
......@@ -479,9 +479,9 @@ class TemplateTool (BaseTool):
self.repository_dict[repository] = tuple(property_dict_list)
if REQUEST is not None:
ret_url = self.absolute_url() + '/' + REQUEST.get('form_id', 'view')
ret_url = self.absolute_url() + '/' + REQUEST.get('dialog_id', 'view')
psm = N_("Business+Templates+Updated+Successfully")
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s"
REQUEST.RESPONSE.redirect("%s?portal_status_message=%s&dialog_category=object_exchange&selection_name=business_template_selection"
% (ret_url, psm))
security.declareProtected( Permissions.AccessContentsInformation,
......
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