Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9781 closed defect (fixed)

Tree: dijit.Tree.attr('selectedItem',...) broken

Reported by: liucougar Owned by: liucougar
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

dijit.Tree.attr('selectedItem',item) does not work, because the code checks for isSelectable on each TreeNode? before actually focus it, while isSelectable is never defined anywhere

Change History (5)

comment:1 Changed 10 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [19964]) fixes #9781:

  • remove isSelectable checking in _setSelectedItemAttr function
  • added unit test case
  • !strict

comment:2 Changed 10 years ago by liucougar

Resolution: fixed
Status: closedreopened

comment:3 Changed 10 years ago by liucougar

Owner: changed from anonymous to liucougar
Status: reopenednew

comment:4 Changed 10 years ago by liucougar

Resolution: fixed
Status: newclosed

comment:5 Changed 10 years ago by bill

Component: GeneralDijit
Summary: dijit.Tree.attr('selectedItem',...) brokenTree: dijit.Tree.attr('selectedItem',...) broken
Note: See TracTickets for help on using tickets.