Use api.setInputParams method for SogouPinyin.
This commit is contained in:
parent
fbc4769cab
commit
9757cb175b
|
@ -301,7 +301,7 @@ define([
|
||||||
|
|
||||||
if (Common.Utils.isChrome) {
|
if (Common.Utils.isChrome) {
|
||||||
value = Common.localStorage.getBool("de-settings-inputsogou");
|
value = Common.localStorage.getBool("de-settings-inputsogou");
|
||||||
window["AscInputMethod"]["SogouPinyin"] = value;
|
this.api.setInputParams({"SogouPinyin" : value});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
|
|
|
@ -802,7 +802,7 @@ define([
|
||||||
|
|
||||||
if (Common.Utils.isChrome) {
|
if (Common.Utils.isChrome) {
|
||||||
value = Common.localStorage.getBool("de-settings-inputsogou");
|
value = Common.localStorage.getBool("de-settings-inputsogou");
|
||||||
window["AscInputMethod"]["SogouPinyin"] = value;
|
me.api.setInputParams({"SogouPinyin" : value});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
|
|
|
@ -242,7 +242,7 @@ define([
|
||||||
|
|
||||||
if (Common.Utils.isChrome) {
|
if (Common.Utils.isChrome) {
|
||||||
value = Common.localStorage.getBool("pe-settings-inputsogou");
|
value = Common.localStorage.getBool("pe-settings-inputsogou");
|
||||||
window["AscInputMethod"]["SogouPinyin"] = value;
|
this.api.setInputParams({"SogouPinyin" : value});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
|
|
|
@ -600,7 +600,7 @@ define([
|
||||||
|
|
||||||
if (Common.Utils.isChrome) {
|
if (Common.Utils.isChrome) {
|
||||||
value = Common.localStorage.getBool("pe-settings-inputsogou");
|
value = Common.localStorage.getBool("pe-settings-inputsogou");
|
||||||
window["AscInputMethod"]["SogouPinyin"] = value;
|
me.api.setInputParams({"SogouPinyin" : value});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
|
|
|
@ -266,7 +266,7 @@ define([
|
||||||
|
|
||||||
if (Common.Utils.isChrome) {
|
if (Common.Utils.isChrome) {
|
||||||
value = Common.localStorage.getBool("sse-settings-inputsogou");
|
value = Common.localStorage.getBool("sse-settings-inputsogou");
|
||||||
window["AscInputMethod"]["SogouPinyin"] = value;
|
this.api.setInputParams({"SogouPinyin" : value});
|
||||||
}
|
}
|
||||||
|
|
||||||
/** coauthoring begin **/
|
/** coauthoring begin **/
|
||||||
|
|
|
@ -151,7 +151,7 @@ define([
|
||||||
|
|
||||||
if (Common.Utils.isChrome) {
|
if (Common.Utils.isChrome) {
|
||||||
value = Common.localStorage.getBool("sse-settings-inputsogou");
|
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));
|
this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this));
|
||||||
|
|
Loading…
Reference in a new issue