diff -r e08ab56ea2ac -r 75be9de9d68e web/request.py --- 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; }' % (