[SSE] Fix Bug 53952

This commit is contained in:
Julia Radzhabova 2021-11-22 17:24:55 +03:00
parent fd46abba46
commit be52573ca1

View file

@ -2231,7 +2231,7 @@ define([
},
checkProtectedRange: function(callback, scope, args) {
var result = this.api.asc_isProtectedSheet() ? this.api.asc_checkProtectedRange() : false;
var result = this.api.asc_isProtectedSheet() && this.api.asc_checkLockedCells() ? this.api.asc_checkProtectedRange() : false;
if (result===null) {
this.onError(Asc.c_oAscError.ID.ChangeOnProtectedSheet, Asc.c_oAscError.Level.NoCritical);
return;