Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

popup remove firing popupafterclose #5123

@poonkave

Description

@poonkave

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions