Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

popup remove firing popupafterclose #5123

Closed
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.

http://jsfiddle.net/N7NLk/

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.