From ce06e5d7ce6901e57069e2bdf18b96b66de7f7f1 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Fri, 21 Nov 2008 16:59:53 +0000 Subject: [PATCH] render_prefix is optional git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24665 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_odt_style/listbox_odt_macro.xml | 3 ++- bt5/erp5_odt_style/bt/revision | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml b/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml index 1f550284ab..cdca35909a 100644 --- a/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml +++ b/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml @@ -90,7 +90,8 @@ </text:sequence-decls>\n ***** ########### listbox: must define the field listbox before calling this macro ! ########### *****\n <tal:block metal:define-macro="listbox">\n - <tal:block tal:define="listboxline_list python:listbox.get_value(\'default\', render_format=\'list\', REQUEST=request, render_prefix=render_prefix);\n + <tal:block tal:define="render_prefix render_prefix | nothing;\n + listboxline_list python:listbox.get_value(\'default\', render_format=\'list\', REQUEST=request, render_prefix=render_prefix);\n selection_name python:listbox.get_value(\'selection_name\', REQUEST=request);\n editable_columns python:listbox.get_value(\'editable_columns\', REQUEST=request);\n untranslatable_columns_dict python:dict([(column[0],1) for column in listbox.get_value(\'untranslatable_columns\', REQUEST=request)]);\n diff --git a/bt5/erp5_odt_style/bt/revision b/bt5/erp5_odt_style/bt/revision index b44fe09a7a..d1cbcfa540 100644 --- a/bt5/erp5_odt_style/bt/revision +++ b/bt5/erp5_odt_style/bt/revision @@ -1 +1 @@ -65 \ No newline at end of file +66 \ No newline at end of file -- 2.30.9