web/views/treeview.py
changeset 3890 d7a270f50f54
parent 3629 559cad62c786
parent 3888 6f145783409d
child 3998 94cc7cad3d2d
equal deleted inserted replaced
3810:5b75fd66c80e 3890:d7a270f50f54
   178             if not is_open:
   178             if not is_open:
   179                 w(u'<ul class="placeholder"><li>place holder</li></ul>')
   179                 w(u'<ul class="placeholder"><li>place holder</li></ul>')
   180         # the local node info
   180         # the local node info
   181         self.wview(vid, self.cw_rset, row=row, col=col, **morekwargs)
   181         self.wview(vid, self.cw_rset, row=row, col=col, **morekwargs)
   182         if is_open and not is_leaf: #  => rql is defined
   182         if is_open and not is_leaf: #  => rql is defined
   183             self.wview(parentvid, self._cw.execute(rql), subvid=vid,
   183             self.wview(parentvid, entity.children(entities=False), subvid=vid,
   184                        treeid=treeid, initial_load=False, **morekwargs)
   184                        treeid=treeid, initial_load=False, **morekwargs)
   185         w(u'</li>')
   185         w(u'</li>')
   186 
   186