diff -r ef903fff826d -r 7b9553a9db65 web/data/cubicweb.lazy.js --- a/web/data/cubicweb.lazy.js Thu Jun 03 10:17:44 2010 +0200 +++ b/web/data/cubicweb.lazy.js Thu Jun 03 14:51:42 2010 +0200 @@ -1,10 +1,9 @@ - function load_now(eltsel, holesel, reloadable) { var lazydiv = jQuery(eltsel); var hole = lazydiv.children(holesel); - if ((hole.length == 0) && !reloadable) { - /* the hole is already filled */ - return; + if ((hole.length == 0) && ! reloadable) { + /* the hole is already filled */ + return; } lazydiv.loadxhtml(lazydiv.attr('cubicweb:loadurl')); } @@ -12,3 +11,4 @@ function trigger_load(divid) { jQuery('#lazy-' + divid).trigger('load_' + divid); } +