[DE] Send role name for fill form preview
This commit is contained in:
parent
d3ade1677f
commit
77165473ec
|
@ -224,7 +224,7 @@ define([
|
|||
if (this.api) {
|
||||
this.disableEditing(state);
|
||||
this.view && this.view.setPreviewMode(state); // send role name - lastViewRole
|
||||
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, lastViewRole);
|
||||
this.api.asc_SetPerformContentControlActionByClick(state);
|
||||
this.api.asc_SetHighlightRequiredFields(state);
|
||||
state && (this._state.lastViewRole = lastViewRole);
|
||||
|
|
Loading…
Reference in a new issue