mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:59:28 +08:00
Fix signatures for protected mode
This commit is contained in:
@ -2931,7 +2931,7 @@ define([
|
||||
|
||||
SetDisabled: function(state, canProtect, fillFormMode) {
|
||||
this._isDisabled = state;
|
||||
this._canProtect = canProtect;
|
||||
this._canProtect = state ? canProtect : true;
|
||||
this._fillFormMode = state ? fillFormMode : false;
|
||||
},
|
||||
|
||||
|
||||
@ -4433,7 +4433,7 @@ define([
|
||||
|
||||
SetDisabled: function(state, canProtect) {
|
||||
this._isDisabled = state;
|
||||
this._canProtect = canProtect;
|
||||
this._canProtect = state ? canProtect : true;
|
||||
this.disableEquationBar();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user