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.

clean dom tree after closing popup #5150

@TrejGun

Description

@TrejGun

If i want to create popup on the fly

var popup = $("<div/>", {text: "my text"}).popup().popup("open");

its completly impossible to clean dom tree after it was closed

because destroy method in popupafterclose event will ause endless loop

popup.on("popupafterclose", function () {
$(this).popup("destroy"); 
});

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