From 4ef10c6f06456228d4a90f7d49b4f8e8f5ccb759 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 5 Aug 2021 14:17:50 +0300 Subject: [PATCH] [SSE] Fix protection dialog --- apps/spreadsheeteditor/main/app/view/ProtectDialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/view/ProtectDialog.js b/apps/spreadsheeteditor/main/app/view/ProtectDialog.js index 76b5151c8..b6ada3867 100644 --- a/apps/spreadsheeteditor/main/app/view/ProtectDialog.js +++ b/apps/spreadsheeteditor/main/app/view/ProtectDialog.js @@ -301,6 +301,8 @@ define([ record.set('check', !record.get('check')); if (record.get('optionName') == 'SelectLockedCells' && record.get('check')) this.optionsList.store.findWhere({optionName: 'SelectUnlockedCells'}).set('check', true); + if (record.get('optionName') == 'SelectUnlockedCells' && !record.get('check')) + this.optionsList.store.findWhere({optionName: 'SelectLockedCells'}).set('check', false); // listView.scroller.update({minScrollbarLength : 40, alwaysVisibleY: true, suppressScrollX: true}); } },