From af77575134ac5fdb961bbfec4901eca4464be498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 2 Aug 2007 15:09:35 +0000 Subject: [PATCH] keep form_id parameter in Base_doJump, in case the action script want to use it. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15420 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/Base_doJump.xml | 10 ++++++++-- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doJump.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doJump.xml index a0f810c819..d0655824ac 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doJump.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doJump.xml @@ -70,7 +70,10 @@ <key> <string>_body</string> </key> <value> <string>if select_jump == \'\':\n return\n -return context.ERP5Site_redirect(select_jump, **kw)\n +\n +request = container.REQUEST\n +return context.ERP5Site_redirect(select_jump,\n + keep_items=dict(form_id=request.get(\'form_id\', \'view\')), **kw)\n </string> </value> </item> <item> @@ -121,9 +124,12 @@ return context.ERP5Site_redirect(select_jump, **kw)\n <tuple> <string>select_jump</string> <string>kw</string> - <string>_apply_</string> <string>_getattr_</string> + <string>container</string> + <string>request</string> + <string>_apply_</string> <string>context</string> + <string>dict</string> </tuple> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 57db2e9786..009bd2c17f 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -404 \ No newline at end of file +407 \ No newline at end of file -- 2.30.9