Commit Graph

12 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
rivten 71b47b2c5a onKey Escape ignores input fields 2021-06-05 12:08:45 -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 5cc4889473 Move Gantt charts to external plugin 2017-04-01 17:04:18 -04:00
Frederic Guillot 253d5a9331 Move calendar to external plugin 2017-04-01 15:43:36 -04:00
Frederic Guillot 58fac9b1be Fix form submit when using keyboard shortcuts 2017-01-28 16:45:58 -05:00
Frederic Guillot d0dad82a27 Improve keyboard shortcuts handling 2017-01-11 22:07:19 -05:00
Frederic Guillot 3833c12ccc Refactoring/rewrite of modal boxes handling 2017-01-02 17:01:27 -05:00
Frederic Guillot ff79ec72c1 Remove dependency on Mousetrap 2016-12-30 20:14:36 -05:00
Frederic Guillot ffb3926178 Replace Chosen jQuery plugin by custom UI component 2016-12-11 15:46:54 -05:00