[PE] Fix customization.hideNotes param
This commit is contained in:
parent
24110bdac2
commit
48405d8e76
|
@ -162,6 +162,7 @@
|
|||
macrosMode: 'warn' // warn about automatic macros, 'enable', 'disable', 'warn',
|
||||
trackChanges: undefined // true/false - open editor with track changes mode on/off,
|
||||
hideRulers: false // hide or show rulers on first loading (presentation or document editor)
|
||||
hideNotes: false // hide or show notes panel on first loading (presentation editor)
|
||||
},
|
||||
coEditing: {
|
||||
mode: 'fast', // <coauthoring mode>, 'fast' or 'strict'. if 'fast' and 'customization.autosave'=false -> set 'customization.autosave'=true
|
||||
|
|
|
@ -748,7 +748,7 @@ define([
|
|||
Common.Utils.InternalSettings.set("pe-settings-spellcheck", value);
|
||||
me.api.asc_setSpellCheck(value);
|
||||
|
||||
value = Common.localStorage.getBool('pe-hidden-notes', this.appOptions.customization && this.appOptions.customization.hideNotes===false);
|
||||
value = Common.localStorage.getBool('pe-hidden-notes', this.appOptions.customization && this.appOptions.customization.hideNotes===true);
|
||||
Common.Utils.InternalSettings.set("pe-hidden-notes", value);
|
||||
me.api.asc_ShowNotes(!value);
|
||||
|
||||
|
|
Loading…
Reference in a new issue