Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autodetect themes path goes wrong #22

Closed
bmesuere opened this issue May 27, 2011 · 2 comments
Closed

autodetect themes path goes wrong #22

bmesuere opened this issue May 27, 2011 · 2 comments

Comments

@bmesuere
Copy link

The autodetect of the themes path goes wrong sometimes.
If I include jstree using <script src="/javascripts/jstree/jquery.jstree.js?1297210634" type="text/javascript"></script> on a page like localhost/search/sequences it tries to load localhost/search/falsedefault/style.css on firefox 4.
In Google Chrome, everything loads fine. I'm using Mac OS X 10.6

@madrang
Copy link

madrang commented May 27, 2011

using pre1.0 use
jQuery.jstree.THEMES_DIR = "some/path/here/jsTree/themes/";
to specify the path to the themes folder.

@bmesuere
Copy link
Author

I had to use $.jstree._themes = "/javascripts/jstree/themes/"; but it worked.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants