Giter VIP home page Giter VIP logo

Comments (5)

asgeo1 avatar asgeo1 commented on May 22, 2024

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.

manuelbernhardt avatar manuelbernhardt commented on May 22, 2024

I can confirm this. The change seems to be described here: http://appendto.com/blog/2011/05/jquery-16-release-executive-brief

from jstree.

yamichaud avatar yamichaud commented on May 22, 2024

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.

ByronCobb avatar ByronCobb commented on May 22, 2024

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.

vakata avatar vakata commented on May 22, 2024

A fixed copy is now up. Sorry for the delay!

from jstree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.