diff -r e134d2dd9992 -r e4843535db25 web/views/treeview.py --- a/web/views/treeview.py Thu Sep 24 00:23:32 2009 +0200 +++ b/web/views/treeview.py Thu Sep 24 00:24:21 2009 +0200 @@ -142,12 +142,12 @@ w(u'
  • ' % u' '.join(liclasses)) else: rql = entity.children_rql() % {'x': entity.eid} - url = xml_escape(self.build_url('json', rql=rql, vid=parentvid, - pageid=self._cw.pageid, - treeid=treeid, - fname='view', - treesubvid=vid, - morekwargs=json.dumps(morekwargs))) + url = xml_escape(self._cw.build_url('json', rql=rql, vid=parentvid, + pageid=self._cw.pageid, + treeid=treeid, + fname='view', + treesubvid=vid, + morekwargs=json.dumps(morekwargs))) divclasses = ['hitarea'] if is_open: liclasses.append('collapsable')