Merge pull request '[common] For bug 52357' (#16) from fix/bug-52357 into release/v8.2.0

This commit is contained in:
Julia Radzhabova
2024-09-12 17:19:52 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ define([
var checked = (field.getValue()==='checked');
Common.localStorage.setBool(me.appPrefix + "settings-letter-exception-cells", checked);
Common.Utils.InternalSettings.set(me.appPrefix + "settings-letter-exception-cells", checked);
me.api.asc_SetAutoCorrectFirstLetterOfSentences && me.api.asc_SetAutoCorrectFirstLetterOfSentences(checked);
me.api.asc_SetAutoCorrectFirstLetterOfCells && me.api.asc_SetAutoCorrectFirstLetterOfCells(checked);
});
this.btnsCategory[3].on('click', _.bind(this.onAutocorrectCategoryClick, this, false));

View File

@ -2632,7 +2632,7 @@ define([
Common.Utils.InternalSettings.set("pe-settings-letter-exception-sentence", value);
me.api.asc_SetAutoCorrectFirstLetterOfSentences(value);
value = Common.localStorage.getItem("pe-settings-letter-exceptionl-cells", true);
value = Common.localStorage.getItem("pe-settings-letter-exception-cells");
value = value !== null ? parseInt(value) != 0 : Common.localStorage.getBool("pe-settings-autoformat-fl-cells", true);
Common.Utils.InternalSettings.set("pe-settings-letter-exception-cells", value);
me.api.asc_SetAutoCorrectFirstLetterOfCells && me.api.asc_SetAutoCorrectFirstLetterOfCells(value);