BinkWu / jquery-checktree

Automatically exported from code.google.com/p/jquery-checktree
0 stars 0 forks source link

checking and then unchecking a child, will not update the parent status (if was half checked) #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. check a child checkbox
2. the parent gets half checked
3. uncheck the child checkbox, the parent stays half checked

this behavior is a bit weird.
if the parent got half checked because of the child, then it should be 
unchecked when there are no checked children.

Original issue reported on code.google.com by tauru...@gmail.com on 8 Nov 2012 at 1:58

GoogleCodeExporter commented 8 years ago
I can't seem to reproduce this. What version of jQuery are you using, what 
version of the plugin, and what browser?
Are you getting any JavaScript errors?

Original comment by r.d.fawcett on 19 Apr 2013 at 2:35

GoogleCodeExporter commented 8 years ago
Sorry, but this is kind of old and i cannot recall the details.
at the time, i was using latest JQuery, Latest jquery-checktree and Chrome.

i ended up doing it manually.

Original comment by tauru...@gmail.com on 19 Apr 2013 at 2:55

GoogleCodeExporter commented 8 years ago
It seems like this project isn't being actively maintained any more, so I've 
forked the codebase on Github and updated it to support newer versions of 
jQuery; I've tested against jQuery 1.7.0 and 1.9.1. The fork can be found at 
https://github.com/yeurch/CheckTree.

From what I can see, I *think* it fixes this issue.

Original comment by r.d.fawcett on 24 Apr 2013 at 10:00