From 09b023c84204c70d3d57ec3b277bb266cd7fb6f5 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 15 Jan 2021 16:02:21 +0300 Subject: [PATCH] [DE] Fix Bug 48260 --- apps/common/main/lib/component/ComboBoxFonts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/ComboBoxFonts.js b/apps/common/main/lib/component/ComboBoxFonts.js index 070536ade4..a47e0b976d 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -131,6 +131,8 @@ define([ if ($(e.target).closest('input').length) { // enter in input field if (this.lastValue !== this._input.val()) this._input.trigger('change'); + else + return true; } else { // enter in dropdown list $(e.target).click(); if (this.rendered) { @@ -139,7 +141,7 @@ define([ else this._input.blur(); } - } + } return false; } else if (e.keyCode == Common.UI.Keys.ESC && this.isMenuOpen()) { this._input.val(this.lastValue);