Ticket #583 (accepted Defect) — at Version 2

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 (last modified by jri) (diff)

When an one-shot dialog 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 appended to the DOM only when opened. These are expected to be removed from the DOM when closed (regardless of the close gesture used). One-shot dialogs comprise at least prompts. Its up the application weather a dialog is created as "one-shot" or "static".

These methods are concerned:

dm4c.ui.dialog()
dm4c.ui.prompt()

Change History

comment:1 Changed 9 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 9 years ago by jri

  • Description modified (diff)
Note: See TracTickets for help on using tickets.