From ad021b183bfa2fe225e2321dd6759196f01b472f Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 15 Jan 2009 12:48:33 +0000 Subject: [PATCH] 2009-01-15 Kazuhiko * apply r.22004 (Transmit defined render_prefix, or None if it was not defined.) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25119 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_mobile_ui/field_render.xml | 9 ++------- bt5/erp5_mobile/bt/revision | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/field_render.xml b/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/field_render.xml index 6f7dd7d1bc..631c96cf47 100644 --- a/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/field_render.xml +++ b/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/field_render.xml @@ -9,12 +9,6 @@ </pickle> <pickle> <dictionary> - <item> - <key> <string>__ac_local_roles__</string> </key> - <value> - <none/> - </value> - </item> <item> <key> <string>_bind_names</string> </key> <value> @@ -73,11 +67,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n <tal:block tal:condition="python: field.meta_type != \'HiddenStringField\'"\n tal:define="field_id field/id;\n value python: request.get(field_id, None);\n + render_prefix render_prefix | nothing;\n field_errors python: request.get(\'field_errors\', {});\n field_has_error python: field_errors.has_key(field_id);\n global form_id form_id | python: form.id;\n field_description field/Field_getDescription;">\n - <div tal:define="html_render python: field.render_htmlgrid(value, request)"\n + <div tal:define="html_render python: field.render_htmlgrid(value, request, render_prefix=render_prefix)"\n tal:attributes="title field_description;\n class python: \' \'.join([x for x in [\'field\', field.is_required() and \'required\' or None, field_has_error and \'error\' or None, field.get_value(\'css_class\') or None] if x is not None])"\n i18n:attributes="title" i18n:domain="ui">\n diff --git a/bt5/erp5_mobile/bt/revision b/bt5/erp5_mobile/bt/revision index d99e90eb96..8580e7b684 100644 --- a/bt5/erp5_mobile/bt/revision +++ b/bt5/erp5_mobile/bt/revision @@ -1 +1 @@ -29 \ No newline at end of file +30 \ No newline at end of file -- 2.30.9