[DE] Fix apply advanced settings
This commit is contained in:
parent
062d9d3d31
commit
45a6f2a286
|
@ -779,7 +779,7 @@ define([
|
||||||
var item = this.cmbFontRender.store.findWhere({value: 'custom'});
|
var item = this.cmbFontRender.store.findWhere({value: 'custom'});
|
||||||
Common.localStorage.setItem("de-settings-cachemode", item && !item.get('checked') ? 0 : 1);
|
Common.localStorage.setItem("de-settings-cachemode", item && !item.get('checked') ? 0 : 1);
|
||||||
Common.localStorage.setItem("de-settings-unit", this.cmbUnit.getValue());
|
Common.localStorage.setItem("de-settings-unit", this.cmbUnit.getValue());
|
||||||
if (this.mode.canChangeCoAuthoring || !Common.Utils.InternalSettings.get("de-settings-coauthmode"))
|
if (this.mode.isEdit && (this.mode.canChangeCoAuthoring || !Common.Utils.InternalSettings.get("de-settings-coauthmode")))
|
||||||
Common.localStorage.setItem("de-settings-autosave", this.chAutosave.isChecked() ? 1 : 0);
|
Common.localStorage.setItem("de-settings-autosave", this.chAutosave.isChecked() ? 1 : 0);
|
||||||
if (this.mode.canForcesave)
|
if (this.mode.canForcesave)
|
||||||
Common.localStorage.setItem("de-settings-forcesave", this.chForcesave.isChecked() ? 1 : 0);
|
Common.localStorage.setItem("de-settings-forcesave", this.chForcesave.isChecked() ? 1 : 0);
|
||||||
|
|
Loading…
Reference in a new issue