diff -r 5b1ce013ae32 -r 3939d48d39d4 web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Thu Jul 15 17:18:57 2010 +0200 +++ b/web/data/cubicweb.ajax.js Thu Jul 15 17:19:34 2010 +0200 @@ -439,10 +439,8 @@ function userCallbackThenUpdateUI(cbname, compid, rql, msg, registry, nodeid) { var d = userCallback(cbname); d.addCallback(function() { - $('#' + nodeid).loadxhtml('json', ajaxFuncArgs('render', { - 'rql': rql - }, - registry, compid)); + $('#' + nodeid).loadxhtml('json', ajaxFuncArgs('render', {'rql': rql}, + registry, compid)); if (msg) { updateMessage(msg); }