diff --git a/apps/common/main/lib/view/AutoCorrectDialog.js b/apps/common/main/lib/view/AutoCorrectDialog.js index 765dd8f716..67741da940 100644 --- a/apps/common/main/lib/view/AutoCorrectDialog.js +++ b/apps/common/main/lib/view/AutoCorrectDialog.js @@ -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)); diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 336453b029..0861e0dd2d 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -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() { diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 8bc4b8e070..320fb5f377 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -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() { diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 65ca8591c5..f5f43f48ab 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -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() {