web/data/cubicweb.lazy.js
changeset 559 7cfd3d11edc8
parent 543 c0f2b6378f70
child 5658 7b9553a9db65
--- a/web/data/cubicweb.lazy.js	Fri Feb 06 12:03:58 2009 +0100
+++ b/web/data/cubicweb.lazy.js	Fri Feb 06 20:23:26 2009 +0100
@@ -1,8 +1,8 @@
 
-function load_now(eltsel, holesel) {
+function load_now(eltsel, holesel, reloadable) {
     var lazydiv = jQuery(eltsel);
     var hole = lazydiv.children(holesel);
-    if (hole.length == 0) {
+    if ((hole.length == 0) && !reloadable) {
 	/* the hole is already filled */
 	return;
     }