Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

only root nodes selected with select-mode 3 #8

Closed
sertac opened this issue Apr 11, 2015 · 3 comments
Closed

only root nodes selected with select-mode 3 #8

sertac opened this issue Apr 11, 2015 · 3 comments

Comments

@sertac
Copy link
Contributor

sertac commented Apr 11, 2015

django-fancytree is missing checking child nodes when parent node is selected with select-mode = 3

@xrmx
Copy link
Owner

xrmx commented Apr 12, 2015

Thanks for reporting. Could you please give me an example of a tree listing which nodes you are selecting and what the output is?

@sertac
Copy link
Contributor Author

sertac commented Apr 15, 2015

$(".fancytree_checkboxes").hide();
widgets.py line 96
please change this line to
$(".fancytree_checkboxes").show();

and any tree is fine just create parent node then child nodes for parent node
click to check checkbox of child node and you will see that only parent node will be checked at "fancytree_checkboxes"

@xrmx
Copy link
Owner

xrmx commented Apr 16, 2015

To me it looks like mode 3 is completely broken. We're possibly missing some node attributes in the source so the js is confused. I'd say to just avoid it for now.

@xrmx xrmx closed this as completed in b32c321 Jun 8, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants