Opened 11 years ago

Closed 11 years ago

#6237 closed defect (invalid)

Tree: lastFocused is stale

Reported by: bill Owned by: Becky Gibson
Priority: high Milestone: 1.2
Component: Accessibility Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Looks like Tree.lastFocused (which should probably be called "currentFocus") gets stale... up/down arrow keys do not update the value because Tree.focusNode() doesn't change the value.

Change History (1)

comment:1 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed

Oh nevermind, it's set indirectly via a dojo.connect: TreeNode._onNodeFocus() --> Tree._onTreeFocus()

Also, I suppose that either lastFocused or currentFocus are OK names, since "focus" can be either an action or a state.

Note: See TracTickets for help on using tickets.