-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
themes.dots doesn't work #251
Comments
The above does not work for me in jsTree 3.0. the dots and icons settings aren't applied:
If I bind on the "ready.jstree" event and call hide_icons, it works (see below). The problem is that for a millisecond you can see the folders and dots being loaded since they are being hidden post-render.
|
Your config is wrong. v1 configs fo not work with 3.0 - please read the docs, or take a look at any example on the site (themes is not inside core). |
Aah thanks I had not spotted that change from the old version. Works now. |
With the current version the dots as well as the icons themes properties doesn't work. The code is as following:
$(document).ready(function() {
$('#syn-treenav01').jstree({
'themes' : {
'theme' : 'default',
'dots' : false,
'icons' : false
},
'plugins' : [ 'themes', 'html_data' ]
});
});
With version 'jsTree 1.0-rc3' (downloaded file 'jstree_pre1.0_fix_1.zip') it worked.
The text was updated successfully, but these errors were encountered: