Ticket #583 (new Defect) — at Initial Version

Opened 9 years ago

Last modified 8 years ago

Aborted one-shot dialogs pollute the DOM

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.2
Component: DeepaMehta Standard Distribution Version: 4.1.3
Keywords: Cc: dgf, Malte
Complexity: 3 Area:
Module: deepamehta-webclient

Description

When an one-shot dialog or prompt is aborted (by pressing the close box or the escape key) it stays in the DOM. The next time the dialog is opened it is appended again. Thus the DOM is polluted bit by bit.

One-shot dialogs are those which are removed to the DOM only when opened. These are expected to be removed from the DOM when closed (regardless of close gesture used). One-shot dialogs comprise prompts.

These methods are concerned:

dm4c.ui.dialog()
dm4c.ui.prompt()
Note: See TracTickets for help on using tickets.