Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#4438 closed defect (fixed)

document StackContainer.selectedChildWidget

Reported by: Adam Peller Owned by: Adam Peller
Priority: high Milestone: 1.0
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description


Change History (5)

comment:1 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [10481]) document selectedChildWidget property. Fixes #4438

comment:2 Changed 12 years ago by Adam Peller

(In [10482]) a few size reductions. Refs #4438

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: closedreopened

From Cameron's mail:

in startup, a local variable 'selected' was introduced :

var selected = this.selectedChildWidget;

however, this.selectedChildWidget can be modified later when the children are iterated, therefore causing selected to not contain the right child widget.

I havn't tested this, but it appears like it would be broken. Should this assignment statement be moved to adter the loop that modifies this.selectedChildWidget ?

Cheers,

Cameron

comment:4 Changed 12 years ago by bill

(In [10497]) Rollback [10482]. Causes JS exception on FF2/mac on themeTester.html. Refs #4438.

comment:5 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: reopenedclosed

(In [10519]) /me tries reduction again. Fixes #4438

Note: See TracTickets for help on using tickets.