Commit c4eb46cf authored by Fabien Morin's avatar Fabien Morin

the condition "request.get('field_came_from')" was present two times in the...

the condition "request.get('field_came_from')" was present two times in the tales which is useless. Change expression "here.absolute_url() + '/view'" to here.getPermanentURL(here);

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35447 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cf4226d6
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
dummy python: response.redirect(url);" />\n dummy python: response.redirect(url);" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="not: isAnon">\n <tal:block tal:condition="not: isAnon">\n
<tal:block tal:define="came_from python: request.get(\'came_from\') or request.get(\'field_came_from\') or request.get(\'field_came_from\') or here.absolute_url() + \'/view\';\n <tal:block tal:define="came_from python: request.get(\'came_from\') or request.get(\'field_came_from\') or here.getPermanentURL(here);\n
dummy python: response.redirect(came_from);" />\n dummy python: response.redirect(came_from);" />\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
......
947 948
\ 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