-
Notifications
You must be signed in to change notification settings - Fork 27
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
Icons disappear when changing node name #83
Comments
I found the answer: jstree defines the prototype of its node in the init stage, and here the 'jstree-icon jstree-ocl' class is used.
When the name of node is changed, rename_node() -> set_text() -> redraw_node() is called inside jstree.
When rename_node() is called, any pre-set icon-related class is gone as the node element is replaced. |
So it seems to me that this problem is a bug. |
Opened #84 . |
In a nested Tree, when changing name of node like below, +/- icons disappear.
I do know this can be resolved by calling NodeView's setOpenCloseIcon(),
but I would really like to know why this occurs in the first place.
The text was updated successfully, but these errors were encountered: