Opened 12 years ago
Closed 12 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.
Note: See
TracTickets for help on using
tickets.
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.