How come when using a YUI tree using TaskNode (illustrated below) my listener on labelClick isn’t called, while it is called if I create the same tree with TextNode?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is most likely something that used to work. The YUI code in
TaskNode.jscallsTextNode.onLabelClick()which does just areturn false. This will work if you modifyTaskNode.jsand instead of callingnode.labelClick(node), calltree.fireEvent('labelClick', node). Specifically, replace:With: