Commit 39051759 authored by Romain Courteaud's avatar Romain Courteaud

Remove hardcoded name.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7330 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 64cb2461
...@@ -1062,7 +1062,8 @@ class SelectionTool( UniqueObject, SimpleItem ): ...@@ -1062,7 +1062,8 @@ class SelectionTool( UniqueObject, SimpleItem ):
# Empty the selection (uid) # Empty the selection (uid)
REQUEST.form = kw # New request form REQUEST.form = kw # New request form
# Define new HTTP_REFERER # Define new HTTP_REFERER
REQUEST.HTTP_REFERER = '%s/Base_viewRelatedObjectList' % o.absolute_url() REQUEST.HTTP_REFERER = '%s/%s' % (o.absolute_url(),
redirect_form_id)
# Return the search dialog # Return the search dialog
return getattr(o, redirect_form_id)(REQUEST=REQUEST) return getattr(o, redirect_form_id)(REQUEST=REQUEST)
......
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