# HG changeset patch # User Sylvain Thénault # Date 1279207174 -7200 # Node ID 3939d48d39d4eba936e4ba024d589ba2cac4a159 # Parent 5b1ce013ae32b10ce1414e2ecde3c0ffbfe91d42 [js] cleanup 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); }