diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-14 17:06:17 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-14 17:06:17 -0500 |
commit | 0ed13c01f9d9a62e1d1525a649259c8f34d2c8f1 (patch) | |
tree | 830a041c16c4713a8bafc4f3e6101a513a110305 /assets/js/core | |
parent | 8ccdea006948d1cff7539bff3a0796af4913cec0 (diff) |
Closing screenshot dialog prevent input elements to get focus
Diffstat (limited to 'assets/js/core')
-rw-r--r-- | assets/js/core/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/core/modal.js b/assets/js/core/modal.js index 6c43f051..792e7316 100644 --- a/assets/js/core/modal.js +++ b/assets/js/core/modal.js @@ -10,7 +10,7 @@ } function onCloseButtonClick() { - destroy(); + KB.trigger('modal.close'); } function onFormSubmit() { |