Use api.setInputParams method for SogouPinyin.
This commit is contained in:
parent
fbc4769cab
commit
9757cb175b
|
@ -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 **/
|
||||
|
|
|
@ -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 **/
|
||||
|
|
|
@ -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 **/
|
||||
|
|
|
@ -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 **/
|
||||
|
|
|
@ -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 **/
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue