Commit Graph

8 Commits

Author SHA1 Message Date
Frédéric Guillot b212dd1c7d Do not close modals when clicking on the background
Fixes #5288
2023-10-15 14:21:27 -07:00
Frédéric Guillot 6ca955de1f Allow closing modals by clicking on the background
Cherry-pick #4044

Fixes #4895
2023-03-30 20:01:59 -07:00
Frédéric Guillot 5a2836bf39 Revert "Easier closing of dialogs" (introduces regression on date time picker)
This reverts commit 71630aaa77.
2018-10-23 15:12:44 -07:00
Michael 71630aaa77 Easier closing of dialogs
Allow closing of dialogs by clicking on the background area around it.

When the dialog is closed in this manner, if it contains a form with changed data present a warning that there are unsaved changes. Likewise if the user attempts to navigate away from the page, eg page reload, bookmark click, address bar entry.

If the dialog does not contain a form or the data remains unchanged no warning messages are shown.
2018-10-15 17:47:38 -07:00
Frederic Guillot 93c05371a8 Replace modal contents if already open to avoid window flickering 2017-02-18 19:52:08 -05:00
Frederic Guillot b3a450bace Display project analytics in modal box 2017-01-08 14:00:51 -05:00
Frederic Guillot f2a24fb3bf Update javascript dev dependencies 2017-01-02 20:47:20 -05:00
Frederic Guillot 3833c12ccc Refactoring/rewrite of modal boxes handling 2017-01-02 17:01:27 -05:00