From 263c93f4b3f4163bca135a001a9f2ab943f0758c Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sat, 3 Mar 2007 00:48:01 +0000
Subject: [PATCH] make sure new content is created editable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13202 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_xhtml_style/Base_doAction.xml              | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml
index 7cc61f1da7..6a5f93c19c 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doAction.xml
@@ -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
-- 
2.30.9