From f699e3c323caeaeab92cd2deea6d9453efe4d4cf Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Wed, 5 Jul 2023 13:48:14 +0300 Subject: [PATCH] [DE] By bug 62959 --- apps/documenteditor/main/app/controller/Toolbar.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index 5028c6d3be..d6d91a9c07 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -482,8 +482,9 @@ define([ onApiFontSize: function(size) { var type = this._state.type_fontsize; if (this.toolbar.cmbFontSize && this._state.type_fontsize === 'string') { - var rec = this.toolbar.cmbFontSize.store.findWhere({ - value: size + var strValue = size + '_str', + rec = this.toolbar.cmbFontSize.store.findWhere({ + value: strValue }); if (!rec) { type = 'number';