Commit e835e0bc authored by Fabien Morin's avatar Fabien Morin

revert r35448 as getPermanentURL is available only on Web Sites / Web Sections

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35451 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04b64694
...@@ -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 here.getPermanentURL(here);\n <tal:block tal:define="came_from python: request.get(\'came_from\') or here.absolute_url() + \'/view\';\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
......
945 946
\ 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