Opened 14 years ago
Closed 13 years ago
#3726 closed enhancement (fixed)
Editor has no way to be programmatically destroyed.
Reported by: | guest | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Editor | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I'd like to be able to close/destroy an instance of Editor and have it's toolbar be destroyed as well.
Currently, I've added the following as a close function in dijit.Editor:
close: function(save, force){ this.toolbar.destroy(); dijit.Editor.superclass.close.call(this, save, force); }
This may not be the best way, but it works for now.
Change History (8)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Note that Ben Shell is covered under the same Corporate CLA that I am...
comment:4 Changed 14 years ago by
Component: | General → Editor |
---|---|
Owner: | changed from anonymous to alex |
does this code go in dijit.Editor.destroy()?
comment:5 Changed 14 years ago by
Milestone: | → 1.0 |
---|
comment:7 Changed 13 years ago by
Owner: | changed from alex to Adam Peller |
---|
comment:8 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Preview killed my email address: [email protected]…