Opened 12 years ago
Closed 9 years ago
#8286 closed enhancement (wontfix)
Tree onClick - conditionally call focusNode()
Reported by: | Les | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Dijit | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Here's a dijit.Tree's code fragment:
this.onClick(nodeWidget.item, nodeWidget); this.focusNode(nodeWidget);
Would it be possible to modify this code to conditionally focus the clicked tree node?
if(this.onClick(nodeWidget.item, nodeWidget)) { this.focusNode(nodeWidget); }
I also put this in the support forum: http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-development-discussion/tree-onclick-conditionally-focusnode
Change History (3)
comment:1 Changed 12 years ago by
Milestone: | tbd → future |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I don't see a reason for this.
Note: See
TracTickets for help on using
tickets.
It's possible, but why do you want that? If the user clicks a button or input or textarea, it always gets focus.