diff -r f2c4da6b008d -r 8881e45f55e3 web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Thu Sep 03 14:07:02 2009 +0200 +++ b/web/data/cubicweb.ajax.js Thu Sep 03 14:17:12 2009 +0200 @@ -387,7 +387,9 @@ return stripped; } -/* convenience function that returns a DOM node based on req's result. */ +/* convenience function that returns a DOM node based on req's result. + * XXX clarify the need to clone + * */ function getDomFromResponse(response) { if (typeof(response) == 'string') { var doc = html2dom(response);