Commit 263c93f4 authored by Jean-Paul Smets's avatar Jean-Paul Smets

make sure new content is created editable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13202 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b241222
......@@ -94,6 +94,7 @@ elif doAction0 == \'add\':\n
container=context,\n
id=str(new_id))\n
preserved_parameters[\'portal_status_message\'] = N_("Object Created.")\n
preserved_parameters[\'editable_mode\'] = 1\n
redirect_url = \'%s/view\' % (new_content.absolute_url(), )\n
# The created object is not a part of the selection, so prevent from displaying the selection navigation controls\n
kw[\'selection_index\']=None\n
......
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