changeset 10299 | 4f3b6dad5084 |
parent 10167 | de62952550d9 |
child 10662 | 10942ed172de |
--- a/web/views/treeview.py Thu Apr 02 13:54:00 2015 +0200 +++ b/web/views/treeview.py Thu Apr 16 18:59:12 2015 +0200 @@ -244,6 +244,8 @@ entity = self.cw_rset.get_entity(row, col) itree = entity.cw_adapt_to('ITree') liclasses = [] + if self._cw.url(includeparams=False) == entity.absolute_url(): + liclasses.append(u'selected') is_open = self.open_state(entity.eid, treeid) is_leaf = itree is None or itree.is_leaf() if is_leaf: