web/views/treeview.py
changeset 10100 6718c03f8938
parent 10099 12f4f2509a38
child 10167 de62952550d9
--- a/web/views/treeview.py	Thu Oct 23 11:20:44 2014 +0200
+++ b/web/views/treeview.py	Thu Oct 23 11:42:20 2014 +0200
@@ -146,8 +146,8 @@
         return subvid, treeid, toplevel_thru_ajax, toplevel
 
     def _init_headers(self, treeid):
-        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.add_css(('jquery-treeview/jquery.treeview.css', 'cubicweb.treeview.css'))
+        self._cw.add_js(('cubicweb.ajax.js', 'cubicweb.widgets.js', 'jquery-treeview/jquery.treeview.js'))
         self._cw.html_headers.add_onload(u"""
 jQuery("#tree-%s").treeview({toggle: toggleTree, prerendered: true});""" % treeid)