From d4376880fc36b2386987fda43ad9e7e2040c655d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 19 Dec 2024 17:49:02 +0300 Subject: [PATCH] Fix Bug 72155 --- apps/common/main/lib/view/AutoCorrectDialog.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/common/main/lib/view/AutoCorrectDialog.js b/apps/common/main/lib/view/AutoCorrectDialog.js index d3a2801812..1c781151f0 100644 --- a/apps/common/main/lib/view/AutoCorrectDialog.js +++ b/apps/common/main/lib/view/AutoCorrectDialog.js @@ -93,6 +93,9 @@ define([ this.arrAddExceptions = {}; this.arrRemExceptions = {}; + + if (this.api) + _exciptionsLangs = this.api.asc_GetAutoCorrectSettings().get_FirstLetterExceptionManager().get_DefaultLangs() || []; _exciptionsLangs.forEach(function(lang) { path = me.appPrefix + "settings-letter-exception"; @@ -347,6 +350,7 @@ define([ cls : 'input-group-nr', dataHintDirection: 'bottom', data : _exciptionsLangs.map(function(lang){ + lang = parseInt(lang); var langName = Common.util.LanguageInfo.getLocalLanguageName(lang); return { displayValue: langName[1],