Opened 12 years ago

Closed 12 years ago

#3949 closed defect (fixed)

Click on leaf node in Tree -> exception

Reported by: Adam Peller Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Adam Peller)

test_Tree.html

click on Asia, then China -> error.

fx.js, line 39:

var node = args.node, s = node.style;

node has no properties

stack trace:

slideIn(Object duration=250)../../dojo/./fx.j... (line 39)
setChildren([])../../dojo/../dij... (line 385)
_onLoadAllItems([dijit._TreeNode, China] _connects=[0] tree=[dijit.Tree ID:tree] label=China, [])../../dojo/../dij... (line 330)
_expand([dijit._TreeNode, China] _connects=[0] tree=[dijit.Tree ID:tree] label=China)../../dojo/../dij... (line 293)
onToggleOpen(Object tree=[dijit.Tree ID:tree] event=toggleOpen)../../dojo/../dij... (line 201)
_listener(Object tree=[dijit.Tree ID:tree] event=toggleOpen)../../dojo/../dij... (line 34)
(?)()../../dojo/./_bas... (line 143)
(?)()../../dojo/./_bas... (line 24)
publish("tree", [Object tree=[dijit.Tree ID:tree] event=toggleOpen])../../dojo/./_bas... (line 241)
_publish("toggleOpen", Object node=[dijit._TreeNode, China])../../dojo/../dij... (line 141)
_onClick(click clientX=31, clientY=176)../../dojo/../dij... (line 216)
(?)()

Change History (2)

comment:1 Changed 12 years ago by Adam Peller

Description: modified (diff)

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [9921]) Ignore clicks on the expando-node portion of a leaf node. Fixes #3949.

Note: See TracTickets for help on using tickets.