Commit 5ff71403 authored by Nicolas Delaby's avatar Nicolas Delaby

Do not hardcode redirection form_id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44528 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bc6c7e02
......@@ -50,15 +50,17 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>context.getVcsTool().cleanup()\n
<value> <string>portal = context.getPortalObject()\n
\n
context.REQUEST.set(\'portal_status_message\', \'Subversion locks removed successfully.\')\n
return context.BusinessTemplate_viewSvnStatus()\n
context.getVcsTool().cleanup()\n
\n
message = portal.Base_translateString(\'Subversion locks removed successfully.\')\n
return context.Base_redirect(form_id, keep_items={\'portal_status_message\': message})\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
<value> <string>form_id=\'view\'</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
651
\ No newline at end of file
652
\ 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