web/views/treeview.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 3629 559cad62c786
--- 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'<li class="%s">' % 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')