[DE] By bug 62959

This commit is contained in:
JuliaSvinareva
2023-07-05 13:48:14 +03:00
parent 7eb80306cb
commit f699e3c323

View File

@ -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';