Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


popup remove firing popupafterclose #5123

poonkave opened this Issue · 0 comments

2 participants

John Chacko Gabriel "_|Nix|_" Schulhof
John Chacko

trying to use new popup to show different types of contents.
Got a function which accepts $html and show it in runtime added popup.
If any previous data-role='popup' exist then remove it from DOM.

Issue: calling remove() firing popupafterclose.

To replicate: click button second time which fires popupafterclose twice. Once on remove() of previous popup and on actual popupafterclose.(see console.log)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.