[DE] Set check mode for form controls
This commit is contained in:
parent
463bca857e
commit
080b21ba8f
|
@ -220,6 +220,7 @@ define([
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.disableEditing(state);
|
this.disableEditing(state);
|
||||||
this.api.asc_setRestriction(state ? Asc.c_oAscRestrictionType.OnlyForms : Asc.c_oAscRestrictionType.None);
|
this.api.asc_setRestriction(state ? Asc.c_oAscRestrictionType.OnlyForms : Asc.c_oAscRestrictionType.None);
|
||||||
|
this.api.asc_SetPerformContentControlActionByClick(state);
|
||||||
}
|
}
|
||||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||||
},
|
},
|
||||||
|
|
|
@ -1003,6 +1003,7 @@ define([
|
||||||
me.api.SetCollaborativeMarksShowType(Asc.c_oAscCollaborativeMarksShowType.None);
|
me.api.SetCollaborativeMarksShowType(Asc.c_oAscCollaborativeMarksShowType.None);
|
||||||
}
|
}
|
||||||
Common.Utils.InternalSettings.set("de-settings-coauthmode", me._state.fastCoauth);
|
Common.Utils.InternalSettings.set("de-settings-coauthmode", me._state.fastCoauth);
|
||||||
|
me.api.asc_SetPerformContentControlActionByClick(me.appOptions.isRestrictedEdit && me.appOptions.canFillForms);
|
||||||
|
|
||||||
/** coauthoring end **/
|
/** coauthoring end **/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue