Ticket #5274 (closed bug: fixed)
Toggle cycles incorrectly with multiple toggle handlers
|Reported by:||mrspeaker||Owned by:||brandon|
The toggle event stores the current cycle position on the DOM element with this.lastToggle. If you attach multiple toggle handlers to the same event then they use the same state variable, so fire in an unexpected order.
I have attached a possible fix for the issue, which uses the function's guid in conjunction with the state variable - so each handler tracks it's own state.
- Owner set to brandon
- Component changed from unfilled to event