Use api.setInputParams method for SogouPinyin.

This commit is contained in:
Julia Radzhabova 2017-10-12 14:20:32 +03:00
parent fbc4769cab
commit 9757cb175b
6 changed files with 6 additions and 6 deletions

View file

@ -301,7 +301,7 @@ define([
if (Common.Utils.isChrome) {
value = Common.localStorage.getBool("de-settings-inputsogou");
window["AscInputMethod"]["SogouPinyin"] = value;
this.api.setInputParams({"SogouPinyin" : value});
}
/** coauthoring begin **/

View file

@ -802,7 +802,7 @@ define([
if (Common.Utils.isChrome) {
value = Common.localStorage.getBool("de-settings-inputsogou");
window["AscInputMethod"]["SogouPinyin"] = value;
me.api.setInputParams({"SogouPinyin" : value});
}
/** coauthoring begin **/

View file

@ -242,7 +242,7 @@ define([
if (Common.Utils.isChrome) {
value = Common.localStorage.getBool("pe-settings-inputsogou");
window["AscInputMethod"]["SogouPinyin"] = value;
this.api.setInputParams({"SogouPinyin" : value});
}
/** coauthoring begin **/

View file

@ -600,7 +600,7 @@ define([
if (Common.Utils.isChrome) {
value = Common.localStorage.getBool("pe-settings-inputsogou");
window["AscInputMethod"]["SogouPinyin"] = value;
me.api.setInputParams({"SogouPinyin" : value});
}
/** coauthoring begin **/

View file

@ -266,7 +266,7 @@ define([
if (Common.Utils.isChrome) {
value = Common.localStorage.getBool("sse-settings-inputsogou");
window["AscInputMethod"]["SogouPinyin"] = value;
this.api.setInputParams({"SogouPinyin" : value});
}
/** coauthoring begin **/

View file

@ -151,7 +151,7 @@ define([
if (Common.Utils.isChrome) {
value = Common.localStorage.getBool("sse-settings-inputsogou");
window["AscInputMethod"]["SogouPinyin"] = value;
this.api.setInputParams({"SogouPinyin" : value});
}
this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this));