Add missing parameter to widget render call.
authorSandrine Ribeau <sandrine.ribeau@logilab.fr>
Thu, 30 Jul 2009 14:54:40 -0700
changeset 2583 b8d39602a640
parent 2579 e69b2342bd8b
child 2584 da978b98a762
Add missing parameter to widget render call.
web/views/cwproperties.py
--- 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