--- a/web/data/cubicweb.ajax.js Mon May 10 15:15:06 2010 +0200
+++ b/web/data/cubicweb.ajax.js Mon May 10 15:16:37 2010 +0200
@@ -60,7 +60,7 @@
// returned several 'root' nodes and we need to keep the wrapper
// created by getDomFromResponse()
if (response.childNodes.length == 1 &&
- response.getAttribute('cubicweb:type') == 'cwResponseWrapper') {
+ response.getAttribute('cubicweb:type') == 'cwResponseWrapper') {
return response.firstChild;
}
return response;
@@ -286,6 +286,7 @@
if (node) {
// make sure the component is visible
removeElementClass(node, "hidden");
+ domnode = preprocessAjaxLoad(node, domnode);
swapDOM(node, domnode);
postAjaxLoad(domnode);
}