Opened 12 years ago

Closed 12 years ago

#10610 closed defect (fixed)

dijit.Tree._onItemChange does not update node.item

Reported by: isza Owned by: bill
Priority: low Milestone: 1.5
Component: Dijit Version: 1.4.0
Keywords: Tree Cc:
Blocked By: Blocking:


When the Model notifies the Tree with an onChange, the item properties of the corresponding nodes don't get updated. For example after the onChange the onDblClick event receives the old item. Now I know that it's not documented because it doesn't even work.

Change History (3)

comment:1 Changed 12 years ago by bill

Please attach a test case using the attach file button.

comment:2 Changed 12 years ago by bill

Milestone: tbd1.5
Owner: set to bill
Priority: highlow
Status: newassigned

OK, I can't imagine what store would change an item's JS Object on an onSet() call but I guess it's theoretically possible. I'll add code to reset the item in the TreeNode.

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

Fixed in [21346].

Note: See TracTickets for help on using tickets.