[SSE] Header/footer bugfix: select text in the canvas -> 'mouse up' out of canvas -> press Delete -> text in the canvas isn't deleted

This commit is contained in:
Julia Radzhabova 2019-05-23 15:10:36 +03:00
parent 4c3e134b11
commit 5b1495081c
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ define([
$(document.body).on('blur', 'input, textarea', function(e) {
if (me.isAppDisabled === true || me.isFrameClosed) return;
if (!me.isModalShowed && !(me.loadMask && me.loadMask.isVisible())) {
if ((!me.isModalShowed || $('.asc-window.enable-key-events:visible').length>0) && !(me.loadMask && me.loadMask.isVisible())) {
if (/form-control/.test(e.target.className))
me.inFormControl = false;
if (!e.relatedTarget ||

View file

@ -50,7 +50,7 @@ define([
options: {
width: 647,
style: 'min-width: 350px;',
cls: 'modal-dlg'
cls: 'modal-dlg enable-key-events'
},
initialize : function(options) {