Opened 14 years ago

Closed 14 years ago

#6048 closed defect (fixed)

ContentPane dosn't load it's href

Reported by: guest Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit Version: 1.1b1
Keywords: Cc: bill
Blocked By: Blocking:

Description (last modified by bill)

Since [12691] ContentPane? has stopped loading it's content from a href in certain circumstances. Attached test file can be run from /dijit/tests/layout.

Attachments (1)

test_ContentPane_problem.htm (2.0 KB) - added by guest 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by guest

comment:1 Changed 14 years ago by bill

Description: modified (diff)
Owner: set to bill
Status: newassigned

comment:2 Changed 14 years ago by bill

Sorry about that; problem is from my change in [12692]; it assumes that the ContentPane is hidden because ContentPane.selected is false, due to mixin from StackContainer:

dojo.extend(dijit._Widget, {
	selected: false

Selected is set on all ContentPanes, not just those that are children of StackContainers. Hmm, thinking about solution now...

comment:3 Changed 14 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [12822]) Don't check this.selected to see if a ContentPane? is shown or not. If StackContainer/TabContainer? is included on the page then every ContentPane? has a "selected" attribute, even if it isn't a child of a StackContainer?. Fixes #6048, refs #5697.

Note: See TracTickets for help on using tickets.