Ticket #2210 (new bug)
Deactivate controls when destroying
|Reported by:||ahocevar||Owned by:|
|State:||Needs More Work|
A few controls deactivate themselves in destroy(), but most don't, leaving leftovers on the map. The proposed patch adds this.deactivate() to Control.destroy(), and does some requied cleanup in other controls' destructors to make this work reliably.
All tests pass in IE7 and FF3. Please review.