Skip to content

Commit

Permalink
Fix Bug 72155
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Dec 19, 2024
1 parent 6d99fca commit d437688
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/common/main/lib/view/AutoCorrectDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit d437688

Please sign in to comment.