web/views/tabs.py
branchstable
changeset 8728 75be9de9d68e
parent 8531 e150b4bcbfaa
child 9388 4c34a63bd113
--- a/web/views/tabs.py	Tue Mar 12 19:24:43 2013 +0100
+++ b/web/views/tabs.py	Tue Mar 19 12:24:40 2013 +0100
@@ -66,7 +66,7 @@
         if tabid is None:
             tabid = uilib.domid(vid)
         w(u'<div id="lazy-%s" cubicweb:loadurl="%s">' % (
-            tabid, xml_escape(self._cw.build_url('json', **urlparams))))
+            tabid, xml_escape(self._cw.build_url('ajax', **urlparams))))
         if show_spinbox:
             # Don't use ``alt`` since image is a *visual* helper for ajax
             w(u'<img style="display: none" src="%s" alt="" id="%s-hole"/>'