web/views/treeview.py
changeset 10167 de62952550d9
parent 10100 6718c03f8938
child 10299 4f3b6dad5084
--- a/web/views/treeview.py	Wed Jan 28 11:59:06 2015 +0100
+++ b/web/views/treeview.py	Thu Jan 29 16:40:08 2015 +0100
@@ -61,7 +61,7 @@
             done = set()
         super(BaseTreeView, self).call(done=done, **kwargs)
 
-    def cell_call(self, row, col=0, vid=None, done=None, maxlevel=None, **kwargs):
+    def cell_call(self, row, col=0, vid=None, done=None, maxlevel=None, klass=None, **kwargs):
         assert maxlevel is None or maxlevel > 0
         done, entity = _done_init(done, self, row, col)
         if done is None:
@@ -77,7 +77,7 @@
                 return
         relatedrset = entity.cw_adapt_to('ITree').children(entities=False)
         self.wview(self.__regid__, relatedrset, 'null', done=done,
-                   maxlevel=maxlevel, **kwargs)
+                   maxlevel=maxlevel, klass=klass, **kwargs)
         self.close_item(entity)
 
     def open_item(self, entity):