[component] remove row argument which is actually discarded by registry's cache (untill we feel we need a per context cache...)
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 15 Oct 2010 11:33:06 +0200
changeset 6500 e288df2e2f18
parent 6499 c4123c741c66
child 6507 df2527c645cd
[component] remove row argument which is actually discarded by registry's cache (untill we feel we need a per context cache...)
web/views/primary.py
--- a/web/views/primary.py	Fri Oct 15 11:25:59 2010 +0200
+++ b/web/views/primary.py	Fri Oct 15 11:33:06 2010 +0200
@@ -90,7 +90,7 @@
     def content_navigation_components(self, context):
         self.w(u'<div class="%s">' % context)
         for comp in self._cw.vreg['ctxcomponents'].poss_visible_objects(
-            self._cw, rset=self.cw_rset, row=self.cw_row, view=self, context=context):
+            self._cw, rset=self.cw_rset, view=self, context=context):
             try:
                 comp.render(w=self.w, row=self.cw_row, view=self)
             except NotImplementedError:
@@ -249,7 +249,7 @@
                                   context='incontext')
             sideboxes.append(box)
         sideboxes += boxesreg.poss_visible_objects(
-             self._cw, rset=self.cw_rset, row=self.cw_row, view=self,
+             self._cw, rset=self.cw_rset, view=self,
              context='incontext')
         # XXX since we've two sorted list, it may be worth using bisect
         def get_order(x):