web/views/tabs.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 3589 a5432f99f2d9
--- a/web/views/tabs.py	Thu Sep 24 00:23:32 2009 +0200
+++ b/web/views/tabs.py	Thu Sep 24 00:24:21 2009 +0200
@@ -47,7 +47,7 @@
         elif rset:
             urlparams['rql'] = rset.printable_rql()
         w(u'<div id="lazy-%s" cubicweb:loadurl="%s">' % (
-            vid, xml_escape(self.build_url('json', **urlparams))))
+            vid, xml_escape(self._cw.build_url('json', **urlparams))))
         if show_spinbox:
             w(u'<img src="data/loading.gif" id="%s-hole" alt="%s"/>'
               % (vid, self._cw._('loading')))