Opened 13 years ago
Closed 13 years ago
#6789 closed defect (fixed)
Tree: DnD controller not destroyed
Reported by: | bill | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
My tree is created programmatically. In certain circumstances, I need to recreate the tree. When I do this, the old instance of the tree is still subscribed to my drag and drop events, so the drop target is incorrect. It appears that destroying the Tree or the Tree Model does not cause the DndSource? to get destroyed, which would unsubscribe the dnd notifications. If I try to destroy the DndSource? myself, I get an error that "clearItems is not a function" from the dnd.Container.destroy.
Change History (2)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [13768]) Testcase for DnD controller not getting destroyed problem. Refs #6789. Seems to be working for me.