web/data/cubicweb.ajax.js
changeset 225 b90904dc3069
parent 12 95bc1d15349b
child 227 20d6de0fdcb1
equal deleted inserted replaced
224:408ce834899a 225:b90904dc3069
   240   return d;
   240   return d;
   241 }
   241 }
   242 
   242 
   243 /* XXX: HTML architecture of cubicweb boxes is a bit strange */
   243 /* XXX: HTML architecture of cubicweb boxes is a bit strange */
   244 function reloadBox(boxid, rql) {
   244 function reloadBox(boxid, rql) {
   245     reloadComponent(boxid, rql, 'boxes', boxid);
   245     return reloadComponent(boxid, rql, 'boxes', boxid);
   246 }
   246 }
   247 
   247 
   248 function userCallbackThenUpdateUI(cbname, compid, rql, msg, registry, nodeid) {
   248 function userCallbackThenUpdateUI(cbname, compid, rql, msg, registry, nodeid) {
   249     var d = async_remote_exec('user_callback', cbname);
   249     var d = async_remote_exec('user_callback', cbname);
   250     d.addCallback(function() {
   250     d.addCallback(function() {