mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 23:47:46 +08:00
Merge pull request '[common] For bug 52357' (#16) from fix/bug-52357 into release/v8.2.0
This commit is contained in:
@ -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));
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user