summaryrefslogtreecommitdiff
path: root/assets/js/core
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-14 17:06:17 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-14 17:06:17 -0500
commit0ed13c01f9d9a62e1d1525a649259c8f34d2c8f1 (patch)
tree830a041c16c4713a8bafc4f3e6101a513a110305 /assets/js/core
parent8ccdea006948d1cff7539bff3a0796af4913cec0 (diff)
Closing screenshot dialog prevent input elements to get focus
Diffstat (limited to 'assets/js/core')
-rw-r--r--assets/js/core/modal.js2
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() {