Commit c837b467 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* go back to view by clicking 'Save & View' from 'WebPage_viewEditor' too.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27686 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e230ccb5
......@@ -264,7 +264,8 @@ new_url = \'/\'.join(spp)\n
# for web mode, we should use \'view\' instead of \'WebSite_view\',\n
# \'WebSection_view\' or \'WebPage_view\'.\n
if context.REQUEST.get(\'is_web_mode\', False) and \\\n
form_id in (\'WebSite_view\', \'WebSection_view\', \'WebPage_view\'):\n
form_id in (\'WebSite_view\', \'WebSection_view\', \'WebPage_view\',\n
\'WebPage_viewEditor\'):\n
form_id = \'view\'\n
\n
if not selection_index:\n
......
1238
\ No newline at end of file
1239
\ 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