--- a/web/data/cubicweb.ajax.js Mon Aug 31 18:59:10 2009 +0200
+++ b/web/data/cubicweb.ajax.js Tue Sep 01 16:42:57 2009 +0200
@@ -63,7 +63,12 @@
roundedCorners(node);
}
loadDynamicFragments(node);
- jQuery(CubicWeb).trigger('ajax-loaded');
+ // XXX simulates document.ready, but the former
+ // only runs once, this one potentially many times
+ // we probably need to unbind the fired events
+ // When this is done, jquery.treeview.js (for instance)
+ // can be unpatched.
+ jQuery(CubicWeb).trigger('ajax-loaded');
}
/* cubicweb loadxhtml plugin to make jquery handle xhtml response