diff -r 8154a5748194 -r cd5738fc440f web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Mon Feb 03 19:07:58 2014 +0100 +++ b/web/data/cubicweb.ajax.js Wed Feb 05 16:34:21 2014 +0100 @@ -200,7 +200,7 @@ }, _loadAjaxScripts: function($responseHead, $head) { - $responseHead.find('pre.script').each(function(i) { + $responseHead.find('cubicweb\\:script').each(function(i) { var $srcnode = $(this); var url = $srcnode.attr('src'); if (url) { @@ -222,7 +222,7 @@ jQuery.globalEval($srcnode.text()); } }); - $responseHead.find('pre.script').remove(); + $responseHead.find('cubicweb\\:script').remove(); } });