Opened 11 years ago
Closed 8 years ago
#10763 closed defect (patchwelcome)
GridContainer - focus problem when contains non-toggleable TitlePane
Reported by: | ds | Owned by: | Shane O'Sullivan |
---|---|---|---|
Priority: | high | Milestone: | 1.9 |
Component: | Dojox | Version: | 1.4.0 |
Keywords: | GridContainer, TitlePane | Cc: | |
Blocked By: | Blocking: |
Description
In both IE7 and IE8, when a GridContainer? contains a TitlePane? with attribute toggleable="false", if you click on the TitlePane?'s titlebar and then press a key (e.g., a, Shift, etc.) you get the following error:
Error: 'parentNode' is null or not an object
This appears to be coming from GridContainer?._selectFocus() line 899:
if(focusNode.parentNode.parentNode == this.gridNode){
because focusNode is null.
This can be reproduced with the test page at dojox/layout/tests/test_GridContainer.html:
1) Modify any dijit.TitlePane? in the GridContainer? (e.g., the one with title="Ergo") to add the attribute toggleable="false".
2) View the page in IE 7 or IE 8.
3) Click on the titlebar of the non-toggleable TitlePane?.
4) Press a key on the keyboard.
At that point you should see the javascript error in IE.
Change History (2)
comment:1 Changed 11 years ago by
Owner: | changed from Adam Peller to Shane O'Sullivan |
---|
comment:2 Changed 8 years ago by
Milestone: | tbd → 1.9 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Given the lack of activity on this, I'm closing it for now. We would welcome a patch.