Skip to content
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

cookies plugin doesn't work. #216

Closed
muratkarabek opened this issue May 11, 2012 · 1 comment
Closed

cookies plugin doesn't work. #216

muratkarabek opened this issue May 11, 2012 · 1 comment

Comments

@muratkarabek
Copy link

I have a problem with cookies plugin. I included jquery 1.7.2, jquery.cookie and jstree scripts in a simple html page and my

  • nodes have unique ids. i added "cookies" string to jstree plugins array. I uploaded this html into an application on my local IIS. When i run the application, tree has been created as expected, but when i expand a node and refresh the page, tree has been recreated but the node hasn't been expanded. I checked the cookie folder for internet explorer 9, i saw that, there was no cookie created for plugin.

    What does causes this ploblem? I tested jquery.cookie plugin alone, it works.

  • @muratkarabek
    Copy link
    Author

    I solved the cookie problem. I had downloaded jstree on github and in this version i use "state" instead of "cookies" and it worked fine. it remembers expands and collapses. But my new problem is that it doesn't remember checkbox status :). Is this a bug or a normal feature?

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants