web/data/cubicweb.ajax.js
changeset 5978 3939d48d39d4
parent 5977 5b1ce013ae32
child 5998 6c148645075d
--- 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);
         }