File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
cms/static/cms/js/plugins Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -54,22 +54,6 @@ $(document).ready(function () {
54
54
return this . after ( o ) . remove ( ) . end ( ) ;
55
55
} ;
56
56
57
- // For passing in to jsTree's settings.ui.theme_path in order to enable
58
- // it to construct a proper relative URL for its assets. If theme_path
59
- // remains false, jsTree will construct a path using the contents of the
60
- // location bar. In the case that static files (including jsTree's
61
- // javascript) are served from a location other than that of the HTML
62
- // files, the URLs constructed will be incorrect.
63
- function script_url_path ( ) {
64
- // Find the URL that loaded this script (not sure if we can
65
- // programatically determine the name of the current script, so it is
66
- // hardcoded here)
67
- full_url = $ ( 'script[src*="/cms.changelist.js"]' ) . attr ( 'src' ) ;
68
- // Return everything but the filename
69
- return full_url . slice ( 0 , full_url . lastIndexOf ( '/' ) ) ;
70
- }
71
-
72
-
73
57
var tree ;
74
58
// global initTree function
75
59
initTree = function ( ) {
@@ -93,8 +77,6 @@ $(document).ready(function () {
93
77
rtl : false ,
94
78
animation : 0 ,
95
79
hover_mode : true ,
96
- theme_path : script_url_path ( ) + "/../jstree/themes/" ,
97
- theme_name : "default" ,
98
80
a_class : "title"
99
81
} ,
100
82
cookies : {
You can’t perform that action at this time.
0 commit comments