backport stable 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 10:34:33 +0200
branch3.5
changeset 3311 6934be37e948
parent 3310 8695a3f5599e (current diff)
parent 3298 caef98aa4a98 (diff)
child 3312 77ed72f3c260
backport stable
web/views/treeview.py
--- a/web/views/treeview.py	Fri Sep 18 09:21:53 2009 +0200
+++ b/web/views/treeview.py	Fri Sep 18 10:34:33 2009 +0200
@@ -111,7 +111,8 @@
             return str(eeid) in treestate.value.split(';')
         return self.default_branch_state_is_open
 
-    def cell_call(self, row, col, treeid, vid='oneline', parentvid='treeview'):
+    def cell_call(self, row, col, treeid, vid='oneline', parentvid='treeview',
+                  **kwargs):
         w = self.w
         entity = self.entity(row, col)
         liclasses = []
@@ -156,7 +157,7 @@
             if not is_open:
                 w(u'<ul class="placeholder"><li>place holder</li></ul>')
         # the local node info
-        self.wview(vid, self.rset, row=row, col=col)
+        self.wview(vid, self.rset, row=row, col=col, **kwargs)
         if is_open and not is_leaf: #  => rql is defined
             self.wview(parentvid, self.req.execute(rql), treeid=treeid, initial_load=False)
         w(u'</li>')