You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great project and you are to be congratulated! There is so much hard work you have put into what is a world class product.
Had some issue with the latest pre v1 release with the create_node function not accepting a JSON string that includes a data node which has an icon: ie
On the json_data demo page I tried this (after a few fixes): $.jstree._focused().create_node("#li\\.node\\.id1", 0, { data : { title : "Where is the icon?", icon : "http://static.jstree.com/v.1.0rc/_docs/_drive.png" } });
All was fine :)
Hi Ivan,
This is a great project and you are to be congratulated! There is so much hard work you have put into what is a world class product.
Had some issue with the latest pre v1 release with the create_node function not accepting a JSON string that includes a data node which has an icon: ie
{ title : "Where is the icon?", data : { icon : "http://static.jstree.com/v.1.0rc/_docs/_drive.png" } }
After some debugging I modified the following line in parse_json within jstree.core.js from
if(node.data) { li.data(node.data); }
to
if(node.data) { li.data("jstree", node.data); }
This appears to have fixed the issue (unless I'm missing something). Thought this might help.
Cheers
Mike
The text was updated successfully, but these errors were encountered: