From 49b2c49a8491873ddaf84e9bd649ff121b1dac89 Mon Sep 17 00:00:00 2001 From: KirillovIlya Date: Wed, 10 Feb 2021 16:06:02 +0300 Subject: [PATCH] Fix the problem with font combobox --- apps/common/main/lib/component/ComboBoxFonts.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/common/main/lib/component/ComboBoxFonts.js b/apps/common/main/lib/component/ComboBoxFonts.js index 8558d83a4..da3ce1539 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -382,6 +382,12 @@ define([ }, itemClicked: function (e) { + this.__name = undefined; + if (!this.__nameId) { + clearTimeout(this.__nameId); + this.__nameId = undefined; + } + Common.UI.ComboBox.prototype.itemClicked.apply(this, arguments); var el = $(e.target).closest('li');