set the focus to body so shortcut keys can work...
.. previously, the imaglib was setting the focus onto the iFrame which is a a different DOM tree so key events were not passed down to our code.
This commit is contained in:
@@ -49,6 +49,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
function closeBrowser () {
|
function closeBrowser () {
|
||||||
$('#imgbrowse_holder').hide();
|
$('#imgbrowse_holder').hide();
|
||||||
|
document.activeElement.blur(); // make sure focus is the body to correct issue #417
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user