Opened 10 years ago

Last modified 10 years ago

#10061 closed defect

ContentPane and TitlePane widjets get two startup events — at Initial Version

Reported by: CABurt Owned by: sjmiles
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.2
Keywords: ContentPane TitlePane Cc:
Blocked By: Blocking:


With Dojo 1.3 or greater widjets in a ContentPane? or a TitlePane? receive two startup events. In Dojo 1.2 they only received one.

I have a page where some of the widjets sometimes need to launch some code after startup. I've been using the startup event to launch the code, so with Dojo 1.3 and 1.32 the code gets launched twice - which is unacceptable. I got around the issue by having the code use the Title attribute of the widjet to see if it had already been run or not.

Sample file attached. I apologize for using a local Dojo store but I can't get those !%#[email protected] CDN's to work right.

Change History (1)

Changed 10 years ago by CABurt

Attachment: Default.html added

ContentPane/TitlePane? startup events

Note: See TracTickets for help on using tickets.