Skip to content

Commit

Permalink
Merge pull request '[common] For bug 52357' (#16) from fix/bug-52357 …
Browse files Browse the repository at this point in the history
…into release/v8.2.0
  • Loading branch information
Julia Radzhabova committed Sep 12, 2024
2 parents 2584dff + 8f0f1b5 commit d200b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/common/main/lib/view/AutoCorrectDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion apps/presentationeditor/main/app/controller/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d200b1e

Please sign in to comment.