Closing screenshot dialog prevent input elements to get focus
This commit is contained in:
@@ -22,6 +22,10 @@ Improvements:
|
|||||||
* Offer the possibility to define version compatibility from plugins
|
* Offer the possibility to define version compatibility from plugins
|
||||||
* Add task creation event to automatic action to send task by email
|
* Add task creation event to automatic action to send task by email
|
||||||
|
|
||||||
|
Bug fixes:
|
||||||
|
|
||||||
|
* Closing screenshot dialog prevent input elements to get focus
|
||||||
|
|
||||||
Version 1.0.36 (Dec 30, 2016)
|
Version 1.0.36 (Dec 30, 2016)
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
|||||||
6
assets/js/app.min.js
vendored
6
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -109,6 +109,10 @@ KB.component('screenshot', function (containerElement) {
|
|||||||
initialize();
|
initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
KB.on('modal.close', function () {
|
||||||
|
destroy();
|
||||||
|
});
|
||||||
|
|
||||||
this.render = function () {
|
this.render = function () {
|
||||||
inputElement = KB.dom('input')
|
inputElement = KB.dom('input')
|
||||||
.attr('type', 'hidden')
|
.attr('type', 'hidden')
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onCloseButtonClick() {
|
function onCloseButtonClick() {
|
||||||
destroy();
|
KB.trigger('modal.close');
|
||||||
}
|
}
|
||||||
|
|
||||||
function onFormSubmit() {
|
function onFormSubmit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user