[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:
parent
4c3e134b11
commit
5b1495081c
|
@ -207,7 +207,7 @@ define([
|
||||||
$(document.body).on('blur', 'input, textarea', function(e) {
|
$(document.body).on('blur', 'input, textarea', function(e) {
|
||||||
if (me.isAppDisabled === true || me.isFrameClosed) return;
|
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))
|
if (/form-control/.test(e.target.className))
|
||||||
me.inFormControl = false;
|
me.inFormControl = false;
|
||||||
if (!e.relatedTarget ||
|
if (!e.relatedTarget ||
|
||||||
|
|
|
@ -50,7 +50,7 @@ define([
|
||||||
options: {
|
options: {
|
||||||
width: 647,
|
width: 647,
|
||||||
style: 'min-width: 350px;',
|
style: 'min-width: 350px;',
|
||||||
cls: 'modal-dlg'
|
cls: 'modal-dlg enable-key-events'
|
||||||
},
|
},
|
||||||
|
|
||||||
initialize : function(options) {
|
initialize : function(options) {
|
||||||
|
|
Loading…
Reference in a new issue