web/views/treeview.py
changeset 10099 12f4f2509a38
parent 10082 aa63a8e8c213
child 10100 6718c03f8938
--- 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)