changeset 7623 | 5cc7acc7a238 |
parent 7574 | 34154f48d255 |
child 7649 | ede740bd7077 |
--- 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);