From cfccf40b1a8697bdd2b61a3908fbedb89e7eddad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 21 Jan 2009 13:02:19 +0000 Subject: [PATCH] Apply a patch from Mohamadou not to keep cancel_url after changing id, because if the id changed, the cancel_url changed is no longer valid. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25229 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../SkinTemplateItem/portal_skins/erp5_base/Base_changeId.xml | 1 - bt5/erp5_base/bt/revision | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_changeId.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_changeId.xml index 8b91d96383..035873c530 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_changeId.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Base_changeId.xml @@ -66,7 +66,6 @@ if id and id != context.getId():\n return context.Base_redirect(form_id,\n keep_items=dict(selection_name=selection_name,\n selection_index=selection_index,\n - cancel_url=cancel_url,\n portal_status_message=translateString("Function changed.")),)\n \n return context.Base_redirect(form_id,\n diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 501f5773ed..2e790af68a 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -509 \ No newline at end of file +510 \ No newline at end of file -- 2.30.9