Please sign in to comment.
Dialog: Attach pagebeforeshow handler using ._on(). Fixes #2215.
When a dialog widget is destroyed on an element, the pagebeforeshow handler must be removed, otherwise, if another dialog widget is instantiated on the same element later on, the handler from the previous instance will be left around and so the new instance will have the event handled twice.
- Loading branch information...