Commit cfccf40b authored by Jérome Perrin's avatar Jérome Perrin

Apply a patch from Mohamadou not to keep cancel_url after changing id, because

if the id changed, the cancel_url changed is no longer valid.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25229 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 20e42434
...@@ -66,7 +66,6 @@ if id and id != context.getId():\n ...@@ -66,7 +66,6 @@ if id and id != context.getId():\n
return context.Base_redirect(form_id,\n return context.Base_redirect(form_id,\n
keep_items=dict(selection_name=selection_name,\n keep_items=dict(selection_name=selection_name,\n
selection_index=selection_index,\n selection_index=selection_index,\n
cancel_url=cancel_url,\n
portal_status_message=translateString("Function changed.")),)\n portal_status_message=translateString("Function changed.")),)\n
\n \n
return context.Base_redirect(form_id,\n return context.Base_redirect(form_id,\n
......
509 510
\ No newline at end of file \ No newline at end of file
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