Bug fixed: text is entered into the canvas when the info field lost focus

This commit is contained in:
Julia Radzhabova 2019-06-21 17:15:40 +03:00
parent 244edfe69a
commit 1f31531816
3 changed files with 3 additions and 3 deletions

View file

@ -230,7 +230,7 @@ define([
});
$(document.body).on('blur', 'input, textarea', function(e) {
if (!me.isModalShowed) {
if (!me.isModalShowed && !me.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file').isVisible()) {
if (/form-control/.test(e.target.className))
me.inFormControl = false;
if (!e.relatedTarget ||

View file

@ -209,7 +209,7 @@ define([
});
$(document.body).on('blur', 'input, textarea', function(e) {
if (!me.isModalShowed) {
if (!me.isModalShowed && !me.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file').isVisible()) {
if (/form-control/.test(e.target.className))
me.inFormControl = false;
if (!e.relatedTarget ||

View file

@ -208,7 +208,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 && !(me.loadMask && me.loadMask.isVisible()) && !me.getApplication().getController('LeftMenu').getView('LeftMenu').getMenu('file').isVisible()) {
if (/form-control/.test(e.target.className))
me.inFormControl = false;
if (!e.relatedTarget ||