Closed Bug 1095348 Opened 10 years ago Closed 7 years ago

[Follow-up] Refactor dialog.js to change the displayed text at showing time, instead creating new objects

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mancas, Unassigned)

References

Details

To prevent behaviors like the explained in Bug 1091299, we should refactor |dialog.js| in order to set the displayed text/content when we call |show|.

This will allow us to save an instance of the object and use it whenever we want or need. The current approach is to create new objects every time we need to display a dialog, and when we hide it, the dialog's HTML will be removed from the DOM.
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in before you can comment on or make changes to this bug.