--- a/web/views/treeview.py Wed Jul 15 18:28:57 2009 +0200
+++ b/web/views/treeview.py Wed Jul 15 23:48:33 2009 +0200
@@ -39,7 +39,7 @@
self.w(u'</ul>')
if initial_load and not self.req.form.get('fname'):
self.req.add_css('jquery.treeview.css')
- self.req.add_js(('cubicweb.ajax.js', 'jquery.treeview.js'))
+ self.req.add_js(('cubicweb.ajax.js', 'cubicweb.widgets.js', 'jquery.treeview.js'))
self.req.html_headers.add_onload(u"""
jQuery("#tree-%s").treeview({toggle: toggleTree, prerendered: true});""" % treeid)