Opened 8 years ago
Last modified 4 years ago
#17324 new defect
dojox/layout/ContentPane doesn't clear ._contentSetter._code
Reported by: | inghamc | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.15 |
Component: | DojoX Layout | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
If I initialize a dojox/layout/ContentPane using .href, and then later replace its content via .content, the script from the href content is re-executed.
My workaround was to invoke
dojoxContentPane._contentSetter.code = null; dojoxContentPane.set('content', newContent);
In my case newContent had no script to be executed - I don't know if things would have been happier if it did or not.
Change History (2)
comment:1 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|
comment:2 Changed 4 years ago by
Milestone: | 1.13 → 1.15 |
---|
Note: See
TracTickets for help on using
tickets.
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.