Ticket #6237 (closed defect: invalid)

Opened 8 months ago

Last modified 6 months ago

Tree: lastFocused is stale

Reported by: bill Owned by: becky
Priority: normal Milestone: 1.2
Component: Accessibility Version: 1.0
Severity: normal Keywords:
Cc:

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

Changed 6 months ago by bill

  • status changed from new to closed
  • resolution set to invalid

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.