Opened 13 years ago

Closed 13 years ago

#1109 closed defect (worksforme)

TabContainer gets broken by registerPublisher

Reported by: juho.manninen@… Owned by: bill
Priority: high Milestone: 0.9
Component: Widgets Version: 0.2
Keywords: Cc: juho.manninen@…
Blocked By: Blocking:

Description

TabContainer? gets broken by adding dojo.event.topic.registerPublisher. Content of a tab opens up normally for the first time, but after visiting another tab and returning back to one, it's content isn't visible. This happens to all the tabs, meaning that you see the content of each tab once and from then on it's: 'display: none'.

Tested on FF and dojo-2006-07-10.

Can be repeated by adding following to tabContainer-demo:

...
dojo.require("dojo.widget.LayoutContainer");
dojo.require("dojo.widget.Checkbox");

// CUT HERE
function init()
{
	dojo.event.topic.registerPublisher("myXmlChanged"); 
}
dojo.addOnLoad(init);
// CUT HERE
</script>

Change History (2)

comment:1 Changed 13 years ago by dylan

Milestone: 0.5

comment:2 Changed 13 years ago by bill

Cc: juho.manninen@… added
Resolution: worksforme
Status: newclosed

Probably because you forgot to dojo.require("dojo.event.topic") ?

Note: See TracTickets for help on using tickets.