Commit 54bb06c4 authored by Jérome Perrin's avatar Jérome Perrin

with r21174 RadioWidget supports REQUEST parameter, so it's not needed to patch

it again to omit REQUEST parameter. Thanks JM


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21175 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7974083f
...@@ -542,7 +542,7 @@ Widget.get_javascript_list = Widget_get_javascript_list ...@@ -542,7 +542,7 @@ Widget.get_javascript_list = Widget_get_javascript_list
from Products.Formulator import Widget as WidgetModule from Products.Formulator import Widget as WidgetModule
for widget_name in ('MultiItemsWidget', 'LabelWidget', for widget_name in ('MultiItemsWidget', 'LabelWidget',
'FileWidget', 'PasswordWidget', 'RadioWidget'): 'FileWidget', 'PasswordWidget',):
widget = getattr(WidgetModule, widget_name) widget = getattr(WidgetModule, widget_name)
widget._old_render_view = widget.render_view widget._old_render_view = widget.render_view
widget.render_view = lambda self, field, value, REQUEST=None: \ widget.render_view = lambda self, field, value, REQUEST=None: \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment