commit
eb46f4b8d2
|
@ -113,7 +113,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
|
|||
|
||||
var $window = this.getChild();
|
||||
var me = this;
|
||||
var panelAutoFormat = $window.find('#id-autocorrect-dialog-settings-' + this.appPrefix + 'autoformat');
|
||||
var panelAutoFormat = $window.find('#id-autocorrect-dialog-settings-' + (this.appPrefix=='pe-' ? 'de-' : this.appPrefix) + 'autoformat');
|
||||
|
||||
// Math correct
|
||||
this.chReplaceType = new Common.UI.CheckBox({
|
||||
|
@ -358,7 +358,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
|
|||
var checked = (field.getValue()==='checked');
|
||||
Common.localStorage.setBool(me.appPrefix + "settings-autoformat-hyperlink", checked);
|
||||
Common.Utils.InternalSettings.set(me.appPrefix + "settings-autoformat-hyperlink", checked);
|
||||
me.api.asc_setAutoCorrectHyperlinks(checked);
|
||||
me.api.asc_SetAutoCorrectHyperlinks(checked);
|
||||
});
|
||||
|
||||
this.btnsCategory[0].on('click', _.bind(this.onMathCategoryClick, this, false));
|
||||
|
|
|
@ -2608,7 +2608,7 @@ define([
|
|||
|
||||
value = Common.localStorage.getBool("de-settings-autoformat-hyperlink", true);
|
||||
Common.Utils.InternalSettings.set("de-settings-autoformat-hyperlink", value);
|
||||
// me.api.asc_setAutoCorrectHyperlinks(value);
|
||||
me.api.asc_SetAutoCorrectHyperlinks(value);
|
||||
},
|
||||
|
||||
showRenameUserDialog: function() {
|
||||
|
|
|
@ -2230,7 +2230,7 @@ define([
|
|||
|
||||
value = Common.localStorage.getBool("pe-settings-autoformat-hyperlink", true);
|
||||
Common.Utils.InternalSettings.set("pe-settings-autoformat-hyperlink", value);
|
||||
// me.api.asc_setAutoCorrectHyperlinks(value);
|
||||
me.api.asc_SetAutoCorrectHyperlinks(value);
|
||||
},
|
||||
|
||||
showRenameUserDialog: function() {
|
||||
|
|
|
@ -2731,7 +2731,7 @@ define([
|
|||
|
||||
value = Common.localStorage.getBool("sse-settings-autoformat-hyperlink", true);
|
||||
Common.Utils.InternalSettings.set("sse-settings-autoformat-hyperlink", value);
|
||||
me.api.asc_setAutoCorrectHyperlinks(value);
|
||||
me.api.asc_SetAutoCorrectHyperlinks(value);
|
||||
},
|
||||
|
||||
showRenameUserDialog: function() {
|
||||
|
|
Loading…
Reference in a new issue