--- a/web/data/cubicweb.ajax.js Wed Feb 12 17:32:49 2014 +0100
+++ b/web/data/cubicweb.ajax.js Fri Feb 14 16:10:36 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();
}
});