--- a/web/data/cubicweb.ajax.js Mon Apr 20 19:53:09 2009 +0200
+++ b/web/data/cubicweb.ajax.js Mon Apr 20 19:53:28 2009 +0200
@@ -18,8 +18,7 @@
jQuery(node).find('div.ajaxHtmlHead').appendTo(jQuery('head'));
}
-function postAjaxLoad(node, req) {
- // addStylesheets(evalJSON(req.getResponseHeader('X-Cubicweb-Stylesheets') || '[]'));
+function postAjaxLoad(node) {
loadAjaxHtmlHead(node);
// find sortable tables if there are some
if (typeof(Sortable) != 'undefined') {
@@ -71,7 +70,7 @@
} else if (mode == 'append') {
jQuery(node).append(domnode);
}
- postAjaxLoad(node, req);
+ postAjaxLoad(node);
while (jQuery.isFunction(callback)) {
callback = callback.apply(this, [domnode]);
}