Fix signatures for protected mode

This commit is contained in:
Julia Radzhabova 2022-12-16 18:21:57 +03:00
parent d5bb8885fb
commit 4a97fcd4d1
2 changed files with 2 additions and 2 deletions

View file

@ -2931,7 +2931,7 @@ define([
SetDisabled: function(state, canProtect, fillFormMode) { SetDisabled: function(state, canProtect, fillFormMode) {
this._isDisabled = state; this._isDisabled = state;
this._canProtect = canProtect; this._canProtect = state ? canProtect : true;
this._fillFormMode = state ? fillFormMode : false; this._fillFormMode = state ? fillFormMode : false;
}, },

View file

@ -4433,7 +4433,7 @@ define([
SetDisabled: function(state, canProtect) { SetDisabled: function(state, canProtect) {
this._isDisabled = state; this._isDisabled = state;
this._canProtect = canProtect; this._canProtect = state ? canProtect : true;
this.disableEquationBar(); this.disableEquationBar();
}, },