diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 40597ffd5..41a64ae92 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -435,10 +435,6 @@ define([ applySettings: function(menu) { var value; - value = Common.localStorage.getBool("de-settings-inputmode"); - Common.Utils.InternalSettings.set("de-settings-inputmode", value); - this.api.SetTextBoxInputMode(value); - var fast_coauth = Common.Utils.InternalSettings.get("de-settings-coauthmode"); /** coauthoring begin **/ if (this.mode.isEdit && !this.mode.isOffline && this.mode.canCoAuthoring ) { diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 3de6d7fd1..99971b70b 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -1224,10 +1224,6 @@ define([ appHeader.setDocumentCaption(me.api.asc_getDocumentName()); me.updateWindowTitle(true); - value = Common.localStorage.getBool("de-settings-inputmode"); - Common.Utils.InternalSettings.set("de-settings-inputmode", value); - me.api.SetTextBoxInputMode(value); - value = Common.localStorage.getBool("de-settings-show-alt-hints", Common.Utils.isMac ? false : true); Common.Utils.InternalSettings.set("de-settings-show-alt-hints", value); diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index 4b7ded0fb..23e81759b 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -338,9 +338,6 @@ define([ '', '', '', - '', - '
', - '', '', '
', '', @@ -395,14 +392,6 @@ define([ var me = this; var $markup = $(this.template({scope: this})); - this.chInputMode = new Common.UI.CheckBox({ - el: $markup.findById('#fms-chb-input-mode'), - labelText: this.txtHieroglyphs, - dataHint: '2', - dataHintDirection: 'left', - dataHintOffset: 'small' - }); - this.chUseAltKey = new Common.UI.CheckBox({ el: $markup.findById('#fms-chb-use-alt-key'), labelText: Common.Utils.isMac ? this.txtUseOptionKey : this.txtUseAltKey, @@ -788,8 +777,6 @@ define([ }, updateSettings: function() { - this.chInputMode.setValue(Common.Utils.InternalSettings.get("de-settings-inputmode")); - this.chUseAltKey.setValue(Common.Utils.InternalSettings.get("de-settings-show-alt-hints")); var value = Common.Utils.InternalSettings.get("de-settings-zoom"); @@ -873,7 +860,6 @@ define([ Common.UI.Themes.setTheme(this.cmbTheme.getValue()); if (!this.chDarkMode.isDisabled() && (this.chDarkMode.isChecked() !== Common.UI.Themes.isContentThemeDark())) Common.UI.Themes.toggleContentTheme(); - Common.localStorage.setItem("de-settings-inputmode", this.chInputMode.isChecked() ? 1 : 0); Common.localStorage.setItem("de-settings-show-alt-hints", this.chUseAltKey.isChecked() ? 1 : 0); Common.Utils.InternalSettings.set("de-settings-show-alt-hints", Common.localStorage.getBool("de-settings-show-alt-hints")); Common.localStorage.setItem("de-settings-zoom", this.cmbZoom.getValue()); diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index 3706d958b..707f15331 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -256,8 +256,6 @@ class MainController extends Component { this.updateWindowTitle(true); - this.api.SetTextBoxInputMode(LocalStorage.getBool("de-settings-inputmode")); - value = LocalStorage.getBool("de-mobile-no-characters"); appSettings.changeNoCharacters(value); this.api.put_ShowParaMarks(value); diff --git a/apps/presentationeditor/main/app/controller/LeftMenu.js b/apps/presentationeditor/main/app/controller/LeftMenu.js index f3fad7e5b..3915b3fb0 100644 --- a/apps/presentationeditor/main/app/controller/LeftMenu.js +++ b/apps/presentationeditor/main/app/controller/LeftMenu.js @@ -333,10 +333,6 @@ define([ }, applySettings: function(menu) { - var value = Common.localStorage.getBool("pe-settings-inputmode"); - Common.Utils.InternalSettings.set("pe-settings-inputmode", value); - this.api.SetTextBoxInputMode(value); - var fast_coauth = Common.Utils.InternalSettings.get("pe-settings-coauthmode"); /** coauthoring begin **/ if (this.mode.isEdit && !this.mode.isOffline && this.mode.canCoAuthoring) { @@ -352,7 +348,7 @@ define([ } /** coauthoring end **/ - value = Common.localStorage.getBool("pe-settings-cachemode", true); + var value = Common.localStorage.getBool("pe-settings-cachemode", true); Common.Utils.InternalSettings.set("pe-settings-cachemode", value); this.api.asc_setDefaultBlitMode(value); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 21fdc35b6..f86a51cbe 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -849,10 +849,6 @@ define([ appHeader.setDocumentCaption( me.api.asc_getDocumentName() ); me.updateWindowTitle(true); - value = Common.localStorage.getBool("pe-settings-inputmode"); - Common.Utils.InternalSettings.set("pe-settings-inputmode", value); - me.api.SetTextBoxInputMode(value); - value = Common.localStorage.getBool("pe-settings-show-alt-hints", Common.Utils.isMac ? false : true); Common.Utils.InternalSettings.set("pe-settings-show-alt-hints", value); diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js index 8191b1a80..662166101 100644 --- a/apps/presentationeditor/main/app/view/FileMenuPanels.js +++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js @@ -263,9 +263,6 @@ define([ '', '', '', - '', - '
', - '', '', '
', '', @@ -344,14 +341,6 @@ define([ dataHintOffset: 'small' }); - this.chInputMode = new Common.UI.CheckBox({ - el: $markup.findById('#fms-chb-input-mode'), - labelText: this.txtHieroglyphs, - dataHint: '2', - dataHintDirection: 'left', - dataHintOffset: 'small' - }); - this.chUseAltKey = new Common.UI.CheckBox({ el: $markup.findById('#fms-chb-use-alt-key'), labelText: Common.Utils.isMac ? this.txtUseOptionKey : this.txtUseAltKey, @@ -625,8 +614,6 @@ define([ this.chIgnoreNumbers.setValue(Common.Utils.InternalSettings.get("pe-spellcheck-ignore-numbers-words")); } - this.chInputMode.setValue(Common.Utils.InternalSettings.get("pe-settings-inputmode")); - this.chUseAltKey.setValue(Common.Utils.InternalSettings.get("pe-settings-show-alt-hints")); var value = Common.Utils.InternalSettings.get("pe-settings-zoom"); @@ -690,7 +677,6 @@ define([ Common.localStorage.setBool("pe-spellcheck-ignore-uppercase-words", this.chIgnoreUppercase.isChecked()); Common.localStorage.setBool("pe-spellcheck-ignore-numbers-words", this.chIgnoreNumbers.isChecked()); } - Common.localStorage.setItem("pe-settings-inputmode", this.chInputMode.isChecked() ? 1 : 0); Common.localStorage.setItem("pe-settings-show-alt-hints", this.chUseAltKey.isChecked() ? 1 : 0); Common.Utils.InternalSettings.set("pe-settings-show-alt-hints", Common.localStorage.getBool("pe-settings-show-alt-hints")); Common.localStorage.setItem("pe-settings-zoom", this.cmbZoom.getValue()); diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index 5411a8e6c..03c7c0bae 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -481,8 +481,6 @@ class MainController extends Component { this.updateWindowTitle(true); - this.api.SetTextBoxInputMode(LocalStorage.getBool("pe-settings-inputmode")); - if (appOptions.isEdit && this.needToUpdateVersion) { Common.Notifications.trigger('api:disconnect'); }