#474 closed defect (fixed)
ContentPane script deficiencies / cleanup problems
Reported by: | bill | Owned by: | mumme |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Bugs related to specifying <script> tags in URL passed to ContentPane? setUrl().
- setUrl() to reset the content of a content pane will delete all the widgets currently in the content pane, but it won't cleanup where the current content had <script>dojo.event.connect(...)</script>.
At the least, need some kind of hook so the content can clean up after itself.
- ContentPane? can contain 2 types of <script>. A dojo.require() call must be executed before the widgets are instantiated, but other <script> stuff should be executed after the widgets have been instantiated. Need some way to allow this.
Change History (6)
comment:1 Changed 16 years ago by
Milestone: | 0.3release → 0.4 |
---|
comment:2 Changed 16 years ago by
Owner: | changed from bill to mumme |
---|
comment:3 Changed 16 years ago by
Owner: | changed from mumme to anonymous |
---|---|
Status: | new → assigned |
I did implement these things, I am however a bit uncertain if the cleanup part is working, leaving this bug open for a while to hear if there is any issues.
More info about the executeScript thing in this document http://dojotoolkit.org/~mumme/scriptScope.pdf
/ Fredrik
comment:4 Changed 16 years ago by
Owner: | changed from anonymous to mumme |
---|---|
Status: | assigned → new |
comment:5 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
As this bug is resolved since 0.3 (enhanced in 0.3.1) and there insnt that many complaints about memleak related to scriptScope, Im closing this bug.
If there still is issues with the cleanup part there will probably be a new ticket anyway.
Fredrik has implemented some of this stuff but I guess it's still in progress. Assigning bug to him