Opened 15 years ago
Closed 14 years ago
#1109 closed defect (worksforme)
TabContainer gets broken by registerPublisher
Reported by: | Owned by: | bill | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Widgets | Version: | 0.2 |
Keywords: | Cc: | [email protected]… | |
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 15 years ago by
Milestone: | → 0.5 |
---|
comment:2 Changed 14 years ago by
Cc: | [email protected]… added |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Probably because you forgot to dojo.require("dojo.event.topic") ?