For Bug 49584

This commit is contained in:
Julia Radzhabova 2021-08-31 19:08:04 +03:00
parent 3fbd41e9f7
commit 51fad69da6
4 changed files with 5 additions and 5 deletions

View file

@ -113,7 +113,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
var $window = this.getChild();
var me = this;
var panelAutoFormat = $window.find('#id-autocorrect-dialog-settings-' + this.appPrefix + 'autoformat');
var panelAutoFormat = $window.find('#id-autocorrect-dialog-settings-' + (this.appPrefix=='pe-' ? 'de-' : this.appPrefix) + 'autoformat');
// Math correct
this.chReplaceType = new Common.UI.CheckBox({
@ -358,7 +358,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);
});
this.btnsCategory[0].on('click', _.bind(this.onMathCategoryClick, this, false));

View file

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

View file

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

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() {