From 155427b9e86e7ca33d42605d5b73b9f18cc585ac Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Thu, 1 Oct 2009 16:22:17 +0000 Subject: [PATCH] fix a small mistake git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29371 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ApparelModel_copyApparelColourRangeVariation.xml | 7 ++++--- bt5/erp5_apparel/bt/revision | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModel_copyApparelColourRangeVariation.xml b/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModel_copyApparelColourRangeVariation.xml index 69a6be3b83..67631bf0e6 100644 --- a/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModel_copyApparelColourRangeVariation.xml +++ b/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelModel_copyApparelColourRangeVariation.xml @@ -81,7 +81,8 @@ else:\n else:\n msg = \'No new Apparel Colour Range Variation defined.\'\n \n -context.Base_redirect(keep_items=dict(portal_status_message=msg))\n +context.Base_redirect(form_id=form_id,\n + keep_items=dict(portal_status_message=msg))\n </string> </value> </item> <item> @@ -92,7 +93,7 @@ context.Base_redirect(keep_items=dict(portal_status_message=msg))\n </item> <item> <key> <string>_params</string> </key> - <value> <string>form_id=\'\'</string> </value> + <value> <string>form_id=\'view\'</string> </value> </item> <item> <key> <string>errors</string> </key> @@ -146,7 +147,7 @@ context.Base_redirect(keep_items=dict(portal_status_message=msg))\n <key> <string>func_defaults</string> </key> <value> <tuple> - <string></string> + <string>view</string> </tuple> </value> </item> diff --git a/bt5/erp5_apparel/bt/revision b/bt5/erp5_apparel/bt/revision index 7c6ba0fe18..2ebc6516c7 100644 --- a/bt5/erp5_apparel/bt/revision +++ b/bt5/erp5_apparel/bt/revision @@ -1 +1 @@ -55 \ No newline at end of file +56 \ No newline at end of file -- 2.30.9