web/request.py
branchstable
changeset 8728 75be9de9d68e
parent 8612 3bb96935a6b9
child 8730 d4d9f33fd01b
--- a/web/request.py	Tue Mar 12 19:24:43 2013 +0100
+++ b/web/request.py	Tue Mar 19 12:24:40 2013 +0100
@@ -714,7 +714,7 @@
         # after having url unescaping the content. This may make appear some
         # quote or other special characters that will break the js expression.
         extraparams.setdefault('fname', 'view')
-        url = self.build_url('json', **extraparams)
+        url = self.build_url('ajax', **extraparams)
         cbname = build_cb_uid(url[:50])
         # think to propagate pageid. XXX see https://www.cubicweb.org/ticket/1753121
         jscode = u'function %s() { $("#%s").%s; }' % (