diff --git a/apps/common/main/lib/view/AutoCorrectDialog.js b/apps/common/main/lib/view/AutoCorrectDialog.js index fe9dc6c71b..d3a2801812 100644 --- a/apps/common/main/lib/view/AutoCorrectDialog.js +++ b/apps/common/main/lib/view/AutoCorrectDialog.js @@ -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)); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index aba90cd885..3d3c8f75c3 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -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);