OdinaSpb / jstree

Automatically exported from code.google.com/p/jstree
0 stars 0 forks source link

class properties jstree-checked and jstree-unchecked not working #944

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just visit 
http://pessoa.fct.unl.pt/ycc18715/bugs_jstree/bug1_none_show_when_two_last_selec
ted.html and 
http://pessoa.fct.unl.pt/ycc18715/bugs_jstree/bug2_all_show_when_first_selected.
html
2. View the source, specifically in the "li" elements in the div 
"qualities_js_tree"
3. Class values "jstree-checked" and "jstree-unchecked" aren't having the 
desired behaviour

What is the expected output? What do you see instead?

I'm using the class properties class="jstree-checked" and 
class="jstree-unchecked", and expected to see the items checked or unchecked 
accordingly, but sometimes I get all items checked (example 2), sometimes none 
(example 1).

What version of the product are you using? On what browser?

Latest jstree version (v1.0 rc2), I get the bug both on Firefox and Chrome.

Please provide any additional information below.

Original issue reported on code.google.com by ygor.car...@gmail.com on 6 Apr 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Use latest source from the trunk and see if that help.

Original comment by cwolgast on 7 Apr 2011 at 6:39

GoogleCodeExporter commented 9 years ago
It does. Thank you very much!

Original comment by ygor.car...@gmail.com on 8 Apr 2011 at 9:26

GoogleCodeExporter commented 9 years ago
I am having the same issue , could you please explain little cleary , ow 
exactly you resolved it.

Original comment by aarch...@gmail.com on 13 Jan 2013 at 8:42

GoogleCodeExporter commented 9 years ago
Archana, I just downloaded the latest version (at that time) from the trunk 
(http://code.google.com/p/jstree/source/browse/#svn%2Ftrunk) and it worked.

Original comment by ygor.car...@gmail.com on 14 Jan 2013 at 8:37

GoogleCodeExporter commented 9 years ago
Thank You for the reply.I am still having the issue . I have a jstree that goes 
5 levels , when the user clicks on the top level (for the top level , when I am 
passing jstree-unchecked or checked through the JSON string it is working)I 
make a Ajax request that sends back a JSON string with Jstree-unchecked or 
checked , if the parent node is already checked , second level nodes are all 
checked , even though I am passing jstree-unchecked in the string .

I appreciate any help .

Archana

Sent from my iPad

Original comment by aarch...@gmail.com on 14 Jan 2013 at 2:14