Ticket #4902 (closed defect: fixed)
DropDownButton/ComboButton/nested Menus: destroyRecursive() leaves orphaned sub-menus
| Reported by: | bill | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | Dijit | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by bill) (diff)
For ComboButton? or anything with a nested popup, the popup gets moved as a direct child of document.body to make positioning easier, but that means that ComboButton?.destroyRecursive() won't destroy the popup, and similarly Menu.destroy won't destroy any submenus.
This is only an issue when dynamically creating and destroying objects.
Change History
Note: See
TracTickets for help on using
tickets.