Opened 11 years ago
Closed 11 years ago
#10460 closed defect (fixed)
[regression] TabContainer: this._currentChild.id failure on deleting last tab
Reported by: | Avachan | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Dijit | Version: | 1.4.0b |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
When I close the last Child of a TabContainer the !InternetExplorer7 throws the Error:
'this._currentChild.id' ist Null oder kein Objekt 'this._currentChild.id' is null or no object ((free translated))
In version 1.3.2 everything goes perfect. Till I update to 1.4.0rc* the Error would be thrown.
The Error do not thrown if I write in line 96 of dijit.layout.StackController?
if (this._currentChild) var b=this.pane2button[this._currentChild.id];
where
var b=this.pane2button[this._currentChild.id];
then everything I tested works perfekt.
In not shrinked Version it is Line 177 wich I change.
I work with Version 1.4.0rc2 at this moment.
Change History (2)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Owner: | set to bill |
Status: | new → assigned |
Summary: | dijit.layout.TabContainer - this._currentChild.id - Failure → [regression] TabContainer: this._currentChild.id failure on deleting last tab |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the report, I'll fix. It's a problem from [19970] in the part that "convert pane2button[] and pane2handles[] key to be pane id (a string) instead of pane itself (an Object)".