From fb03ad19155feee691eb4b71ac704c07ec513e20 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Tue, 9 Jan 2007 16:09:05 +0000 Subject: [PATCH] Add current_form_id as request variable. It is used in ListBox for URL generation - because at that point it cannot guess it by itself. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11982 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/global_definitions.xml | 1 + product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/global_definitions.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/global_definitions.xml index 44fa90f28f..583861842c 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/global_definitions.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/global_definitions.xml @@ -64,6 +64,7 @@ global actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);\n global url here/absolute_url;\n global current_form_id python: local_parameter_list.get(\'dialog_id\', local_parameter_list.get(\'form_id\', \'view\'));\n + dummy python: request.set(\'current_form_id\', current_form_id);\n global current_url python: \'%s/%s\' % (url, current_form_id);\n global current_action python: here.ERP5Site_getCurrentAction(current_url, actions);\n \n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 75af06ed67..272a4581e9 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -315 \ No newline at end of file +316 \ No newline at end of file -- 2.30.9