Comments (6)
Can you please share a fiddle with the issue?
from jstree-directive.
Finally, It's happen when i have 2 path open in a same root folder and i refresh or reload tree.
To test: expand two nodes of the same root folder and refresh with $('#tree').jstree(true).refresh() - many times if possible.
from jstree-directive.
This is confirmed by the developer of jstree, it comes right jstree Directive.
it is not related to the state plugin.
With the last version of Jstree in master branch, i got this error:
TypeError: f.id.replace is not a function
...str(1).replace(a.jstree.idregex,"$&"):f.id.replace(a.jstree.idregex,"$&"))):...
How to reproduce:
- open two subchilds that have the same parent.
- launch a refresh ($('#tree').jstree(true).refresh())
from jstree-directive.
Oh! ok. Any proposed fix for this issue?
from jstree-directive.
Not yet had time to dissect the code, but it should be easy for you I think?
Do you have a proposal to refresh the tree in another way?
from jstree-directive.
As of now, I do not have a solution for this. May be you could save last opened children nodes in local storage and open the tree nodes till this level recursively? I don't know, may not be the correct way to do it.
Do let me know if you find a fix for this. Thanks!
from jstree-directive.
Related Issues (20)
- jsTree not been created when tree-data="scope" HOT 11
- AjaxTree Jquery Error HOT 2
- Sort plugin failed HOT 2
- Unable to get events HOT 1
- How to search with input-text into jsTree directive. HOT 1
- How can i call functions like reload on Js Tree HOT 1
- jstree instance HOT 4
- Problem with ngResource HOT 1
- Search input box position HOT 1
- Double click event binding HOT 1
- managing tree-ajax error
- Select a node inside the controller
- File Tree is not looking properly HOT 1
- Search box on the tope of tree HOT 1
- custom context menu doesnt work HOT 2
- Plans for Angular 2? HOT 1
- multiple instances of js-tree
- Updating when new file is created HOT 1
- Browser tab crashes on multiple refresh HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jstree-directive.