--- a/web/data/cubicweb.ajax.box.js Sun Feb 06 11:33:04 2011 +0100
+++ b/web/data/cubicweb.ajax.box.js Mon Feb 07 19:17:14 2011 +0100
@@ -16,7 +16,7 @@
var d = loadRemote('json', ajaxFuncArgs(fname, null, eid, value));
d.addCallback(function() {
$('#' + holderid).empty();
- var formparams = ajaxFuncArgs('render', null, 'boxes', boxid, eid);
+ var formparams = ajaxFuncArgs('render', null, 'ctxcomponents', boxid, eid);
$('#' + cw.utils.domid(boxid) + eid).loadxhtml('json', formparams);
if (msg) {
document.location.hash = '#header';
@@ -28,7 +28,7 @@
function ajaxBoxRemoveLinkedEntity(boxid, eid, relatedeid, delfname, msg) {
var d = loadRemote('json', ajaxFuncArgs(delfname, null, eid, relatedeid));
d.addCallback(function() {
- var formparams = ajaxFuncArgs('render', null, 'boxes', boxid, eid);
+ var formparams = ajaxFuncArgs('render', null, 'ctxcomponents', boxid, eid);
$('#' + cw.utils.domid(boxid) + eid).loadxhtml('json', formparams);
if (msg) {
document.location.hash = '#header';
--- a/web/data/cubicweb.ajax.js Sun Feb 06 11:33:04 2011 +0100
+++ b/web/data/cubicweb.ajax.js Mon Feb 07 19:17:14 2011 +0100
@@ -419,7 +419,7 @@
var d = loadRemote('json', ajaxFuncArgs('delete_bookmark', null, beid));
d.addCallback(function(boxcontent) {
$('#bookmarks_box').loadxhtml('json',
- ajaxFuncArgs('render', null, 'boxes',
+ ajaxFuncArgs('render', null, 'ctxcomponents',
'bookmarks_box'));
document.location.hash = '#header';
updateMessage(_("bookmark has been removed"));
@@ -633,7 +633,7 @@
reloadBox = cw.utils.deprecatedFunction(
'[3.9] reloadBox() is deprecated, use loadxhtml instead',
function(boxid, rql) {
- return reloadComponent(boxid, rql, 'boxes', boxid);
+ return reloadComponent(boxid, rql, 'ctxcomponents', boxid);
}
);