--- a/web/views/treeview.py Wed Oct 22 14:39:51 2014 +0200
+++ b/web/views/treeview.py Thu Oct 23 11:20:44 2014 +0200
@@ -146,7 +146,7 @@
return subvid, treeid, toplevel_thru_ajax, toplevel
def _init_headers(self, treeid):
- self._cw.add_css('jquery.treeview.css')
+ self._cw.add_css(('jquery.treeview.css', 'cubicweb.treeview.css'))
self._cw.add_js(('cubicweb.ajax.js', 'cubicweb.widgets.js', 'jquery.treeview.js'))
self._cw.html_headers.add_onload(u"""
jQuery("#tree-%s").treeview({toggle: toggleTree, prerendered: true});""" % treeid)