From 3e24b936f6fb69c72df7ba9450950940798fe98f Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 22 Sep 2006 12:25:15 +0000 Subject: [PATCH] Make "form_id" parameter optionnal : it has no meaning if this script is called from portal. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10245 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_core/ERP5Site_createModule.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.xml index f952c6573f..3502911a1f 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_createModule.xml @@ -248,7 +248,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n </item> <item> <key> <string>_params</string> </key> - <value> <string>form_id, module_portal_type, portal_skins_folder, object_portal_type, object_title, module_id, module_title, selection_index=0, selection_name=\'\'</string> </value> + <value> <string>module_portal_type, portal_skins_folder, object_portal_type, object_title, module_id, module_title, selection_index=0, selection_name=\'\', form_id=\'\'</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -274,7 +274,6 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n <key> <string>co_varnames</string> </key> <value> <tuple> - <string>form_id</string> <string>module_portal_type</string> <string>portal_skins_folder</string> <string>object_portal_type</string> @@ -283,6 +282,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n <string>module_title</string> <string>selection_index</string> <string>selection_name</string> + <string>form_id</string> <string>Products.Formulator.Errors</string> <string>ValidationError</string> <string>FormValidationError</string> @@ -327,6 +327,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n <tuple> <int>0</int> <string></string> + <string></string> </tuple> </value> </item> -- 2.30.9