[SSE] Fix Bug 53952
This commit is contained in:
parent
fd46abba46
commit
be52573ca1
|
@ -2231,7 +2231,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
checkProtectedRange: function(callback, scope, args) {
|
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) {
|
if (result===null) {
|
||||||
this.onError(Asc.c_oAscError.ID.ChangeOnProtectedSheet, Asc.c_oAscError.Level.NoCritical);
|
this.onError(Asc.c_oAscError.ID.ChangeOnProtectedSheet, Asc.c_oAscError.Level.NoCritical);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue