New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

popup remove firing popupafterclose #5123

Closed
poonkave opened this Issue Oct 3, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@poonkave
Contributor

poonkave commented Oct 3, 2012

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