Commit Graph

12 Commits

Author SHA1 Message Date
Frédéric Guillot
89821c759e Do not close modals when clicking on the background if the form has changed
Fixes #5239

Closes #5255
2023-05-06 22:08:14 -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
ON-jz
e8c83c97d7 Added new javascript events for dropdown and modal
- dropdown.clicked
- dropdown.afterRender
- dropdown.beforeDestroy
- modal.open
- modal.afterRender
- modal.beforeDestroy
2017-05-18 21:47:44 -04:00
Frederic Guillot
003c03a4e6 Add project restriction to block task edition 2017-04-07 21:46:36 -04:00
Frederic Guillot
72cea71692 Improve mobile view 2017-02-08 22:17:02 -05:00
Frederic Guillot
58fac9b1be Fix form submit when using keyboard shortcuts 2017-01-28 16:45:58 -05:00
Frederic Guillot
0ed13c01f9 Closing screenshot dialog prevent input elements to get focus 2017-01-14 17:06:17 -05:00
Frederic Guillot
d0dad82a27 Improve keyboard shortcuts handling 2017-01-11 22:07:19 -05:00
Frederic Guillot
ca00b8cf53 Display project exports in modal box 2017-01-08 15:31:33 -05:00
Frederic Guillot
b3a450bace Display project analytics in modal box 2017-01-08 14:00:51 -05:00
Frederic Guillot
3833c12ccc Refactoring/rewrite of modal boxes handling 2017-01-02 17:01:27 -05:00