[SSE] Fix autocorrect settings

This commit is contained in:
Julia Radzhabova 2021-09-06 12:27:02 +03:00
parent d80ca330c1
commit c4002b57e3
2 changed files with 2 additions and 2 deletions

View file

@ -357,7 +357,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
var checked = (field.getValue()==='checked');
Common.localStorage.setBool(me.appPrefix + "settings-autoformat-hyperlink", checked);
Common.Utils.InternalSettings.set(me.appPrefix + "settings-autoformat-hyperlink", checked);
me.api.asc_setAutoCorrectHyperlinks(checked);
me.api.asc_SetAutoCorrectHyperlinks(checked);
});
}

View file

@ -2731,7 +2731,7 @@ define([
value = Common.localStorage.getBool("sse-settings-autoformat-hyperlink", true);
Common.Utils.InternalSettings.set("sse-settings-autoformat-hyperlink", value);
me.api.asc_setAutoCorrectHyperlinks(value);
me.api.asc_SetAutoCorrectHyperlinks(value);
},
showRenameUserDialog: function() {