From 6a8f2e7152ee93a4a9a0674362479ed9580d6498 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 1 Dec 2020 20:08:56 +0300 Subject: [PATCH] [SSE] Format refactoring --- apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js index c015d860a..d28ab9e5e 100644 --- a/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js @@ -509,8 +509,9 @@ define([ data.push({value: this.CustomFormat, displayValue: this.CustomFormat}); } this.cmbCode.setData(data); - this.cmbCode.setValue(this.Format); - this.inputCustomFormat.setValue(me.api.asc_convertNumFormat2NumFormatLocal(this.Format)); + var value = me.api.asc_convertNumFormat2NumFormatLocal(this.Format); + this.cmbCode.setValue(value); + this.inputCustomFormat.setValue(value); } this.lblExample.text(this.api.asc_getLocaleExample(this.Format));