diff -r 36126858405f -r 5cc7acc7a238 web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Thu Jul 07 11:10:37 2011 +0200 +++ b/web/data/cubicweb.ajax.js Thu Jul 07 11:10:50 2011 +0200 @@ -189,7 +189,7 @@ return resource.substring(dataurl.length); }); $srcnode.attr(srcattr, dataurl + '??' + missing_path.join(',')); - } + } else { return ; } // === will work if both arguments are of the same type if ( $srcnode.attr('type') === 'text/javascript' ) { cw.ajax.evalscripts($srcnode);