Opened 11 years ago

Closed 11 years ago

#7572 closed defect (fixed)

Tree: javascript error with left arrow keypress on a closed root tree node (IE6)

Reported by: jsm174 Owned by: bill
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: Tree IE6 Cc:
Blocked By: Blocking:

Description

Hello again. I'm using a dijit tree. When the root node is closed and selected (so the entire tree is collapsed), if the user presses the left arrow again, IE 6 throws the following error:

Char: 14984 Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept focus.

Attachments (2)

tree_test.htm (4.1 KB) - added by jsm174 11 years ago.
The tree test that fails in IE 6
nightly.jpg (100.0 KB) - added by jsm174 11 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by bill

Resolution: worksforme
Status: newclosed
Summary: IE6 javascript error with left arrow keypress on a closed root tree node.Tree: javascript error with left arrow keypress on a closed root tree node (IE6)
Version: 1.1.1

This seems to be working on the latest code in trunk for test_Tree.html, see http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Tree.html.

If it's still failing for you in the 1.2 beta then please attach a testcase.

Also, you shouldn't set the "milestone" of bugs. Set the "version" field. Thanks.

Changed 11 years ago by jsm174

Attachment: tree_test.htm added

The tree test that fails in IE 6

comment:2 Changed 11 years ago by jsm174

Resolution: worksforme
Status: closedreopened

I just attached the html that fails for me.

Sorry about the "version" field. I wasn't sure what to set.

Thanks, -- Jason

comment:3 Changed 11 years ago by jsm174

Also, I just checked then nightly build test and it throws the message in the rootless tree.

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Tree.html

Changed 11 years ago by jsm174

Attachment: nightly.jpg added

comment:4 Changed 11 years ago by bill

Owner: set to bill
Status: reopenednew

Aha, a problem with the rootless tree. OK, I see.

comment:5 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

(In [15119]) Fixes #7572: javascript error with left arrow keypress on a closed top tree node, with showRoot=false. !strict

Note: See TracTickets for help on using tickets.