[component] remove row argument which is actually discarded by registry's cache (untill we feel we need a per context cache...)
--- 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):