From be52573ca186d18a3a691f51bf63f230d621d5e8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 22 Nov 2021 17:24:55 +0300 Subject: [PATCH] [SSE] Fix Bug 53952 --- apps/spreadsheeteditor/main/app/controller/Main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 18c1476c9..5cba900d2 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -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;