From 665331f0d1a4bf435c415754d885a35b396c667e Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 11 Apr 2018 12:15:27 +0300 Subject: [PATCH] Fix Bug 34586 --- 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 143c8a47fc..f84eb5950b 100644 --- a/apps/common/main/lib/component/ComboBoxFonts.js +++ b/apps/common/main/lib/component/ComboBoxFonts.js @@ -213,6 +213,8 @@ define([ }, 10); } else me._skipInputChange = false; + } else if (e.keyCode == Common.UI.Keys.RETURN && this._input.val() === me.lastValue){ + this._input.trigger('change', { reapply: true }); } }, @@ -233,7 +235,7 @@ define([ var val = $(e.target).val(), record = {}; - if (this.lastValue === val) { + if (this.lastValue === val && !(extra && extra.reapply)) { if (extra && extra.onkeydown) this.trigger('combo:blur', this, e); return;