Comments (5)
I noticed some refresh issues too. I found that in jQuery 1.6.1 the data() / removeData() functions treat dashes differently.
I.e.
obj.removeData("jstree-is-loading"); // doesn't work
obj.removeData("jstreeIsLoading"); // works
I manually went through the source code and made those changes, and it fixed quite a few refresh-based issues for me.
My comment only pertains to jstree pre-1.0. Although I haven't tried the upcoming v1.0 yet, just looking at the code this issue seems to have been mostly fixed.
from jstree.
I can confirm this. The change seems to be described here: http://appendto.com/blog/2011/05/jquery-16-release-executive-brief
from jstree.
I had the same problem.
I change all the data("jstree-is-loading") and removeData("jstree-is-loading") with data("jstreeIsLoading") and removeData("jstreeIsLoading").
It works now.
Shoud we expect this to be integrated in next jstree commit? Can we be sure that jstree1.0 is jquery1.6 compliant (no problem with .attr() for example ?).
from jstree.
I've changed the jstree-is-loading to jstreeisloading in all the data and removeData instances.
I've found that creating a node on an empty parent doesn't actually add the node.
Calling var myElement = $(jQuery.jstree._reference($ ("#myTree"))._get_parent(data.r)); also get an error in the jquery sizzle.
Anybody have jstree fully working on jquery 1.6.2 yet? I need it quite urgently.
from jstree.
A fixed copy is now up. Sorry for the delay!
from jstree.
Related Issues (20)
- `instance.get_json` does not mention the undetermined states (checkbox plugin) HOT 1
- Hide root
- types-plugin: a_attr/li_attr are not merged to nodes
- move node fails if children are all typed to same?
- possible security issues, feedback needed HOT 2
- Node Position Sequence
- Webpack/encore compatibility - $(...).jstree is not a function HOT 1
- Select all button
- The jstree package is vulnerable to Cross-Site Scripting (XSS)
- Massload plugin only loads one time and does not execute 2nd time HOT 1
- How can I resolve the vulnerability in JSTree's get_node flagged by Checkmarx? HOT 2
- can't make node.state work as expected HOT 1
- get id of of parent node when dropped HOT 2
- How to Display File icon for Files HOT 1
- Non-functional plugins ? HOT 1
- Show a tree structure in dropdown html
- duplicate ids freezes / crashes
- Update search call back on checkbox change
- bug in jstree 3.3.13 and above when reclicking on node to show info box HOT 1
- Status of JsTree
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.