[Dojo-checkins] [Dojo Toolkit] #14058: Tree: _initState() should also remember last selected/focused node

Dojo Trac trac at dojotoolkit.org
Sat Nov 5 01:05:42 EDT 2011


#14058: Tree: _initState() should also remember last selected/focused node
------------------------------------------+--------------------
 Reporter:  Simon Speich                  |       Owner:
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  tbd
Component:  Dijit                         |     Version:  1.6.1
 Severity:  normal                        |  Resolution:
 Keywords:  tree, path, selection, state  |
------------------------------------------+--------------------

Comment (by bill):

 Thanks.   I'm wondering if (as you originally pondered) it should call
 _dndSelector.setSelected() rather than set("paths", ...).    As you
 pointed out the set("paths", ...) call could trigger more database
 accesses and be asynchronous, which means that the tree could still
 effectively be loading after the onload event occurs.

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/14058#comment:7>
Dojo Toolkit <http://dojotoolkit.org>
The Dojo Toolkit


More information about the Dojo-checkins mailing list