Merge pull request #1622 from ONLYOFFICE/fix/fix-bugs

[SSE] Fix bug 55725
This commit is contained in:
Julia Radzhabova 2022-03-10 16:58:05 +03:00 committed by GitHub
commit a9e204d145
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -264,7 +264,7 @@ define([
if ((!Common.Utils.ModalWindow.isVisible() || $('.asc-window.enable-key-events:visible').length>0) && !(me.loadMask && me.loadMask.isVisible())) {
if (/form-control/.test(e.target.className))
me.inFormControl = false;
if (me.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file').isVisible())
if (me.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file').isVisible() && $('.asc-window.enable-key-events:visible').length === 0)
return;
if (!e.relatedTarget ||
!/area_id/.test(e.target.id)