diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 1d159a5a9..93dd7801e 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -316,11 +316,6 @@ define([ if (Common.Utils.isChrome) { value = Common.localStorage.getBool("de-settings-inputsogou"); Common.Utils.InternalSettings.set("de-settings-inputsogou", value); - // window["AscInputMethod"]["SogouPinyin"] = value; - } - - if (Common.Utils.isChrome) { - value = Common.localStorage.getBool("de-settings-inputsogou"); this.api.setInputParams({"SogouPinyin" : value}); } diff --git a/apps/presentationeditor/main/app/controller/LeftMenu.js b/apps/presentationeditor/main/app/controller/LeftMenu.js index 7495643d5..b47572eff 100644 --- a/apps/presentationeditor/main/app/controller/LeftMenu.js +++ b/apps/presentationeditor/main/app/controller/LeftMenu.js @@ -251,11 +251,6 @@ define([ if (Common.Utils.isChrome) { value = Common.localStorage.getBool("pe-settings-inputsogou"); Common.Utils.InternalSettings.set("pe-settings-inputsogou", value); - // window["AscInputMethod"]["SogouPinyin"] = value; - } - - if (Common.Utils.isChrome) { - value = Common.localStorage.getBool("pe-settings-inputsogou"); this.api.setInputParams({"SogouPinyin" : value}); } diff --git a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js index e015601e4..332a39274 100644 --- a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js +++ b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js @@ -276,11 +276,6 @@ define([ if (Common.Utils.isChrome) { value = Common.localStorage.getBool("sse-settings-inputsogou"); Common.Utils.InternalSettings.set("sse-settings-inputsogou", value); - // window["AscInputMethod"]["SogouPinyin"] = value; - } - - if (Common.Utils.isChrome) { - value = Common.localStorage.getBool("sse-settings-inputsogou"); this.api.setInputParams({"SogouPinyin" : value}); }