Add missing parameter to widget render call.
--- a/web/views/cwproperties.py Thu Jul 30 19:55:27 2009 +0200
+++ b/web/views/cwproperties.py Thu Jul 30 14:54:40 2009 -0700
@@ -292,7 +292,7 @@
wdg.attrs['tabindex'] = form.req.next_tabindex()
wdg.attrs['onchange'] = "javascript:setPropValueWidget('%s', %s)" % (
form.edited_entity.eid, form.req.next_tabindex())
- return wdg.render(form, self)
+ return wdg.render(form, self, renderer)
def vocabulary(self, form):
entity = form.edited_entity
@@ -313,7 +313,7 @@
wdg = self.get_widget(form)
if tabindex is not None:
wdg.attrs['tabindex'] = tabindex
- return wdg.render(form, self)
+ return wdg.render(form, self, renderer)
def form_init(self, form):
entity = form.edited_entity