[SSE] Fix protection dialog

This commit is contained in:
Julia Radzhabova 2021-08-05 14:17:50 +03:00
parent 68f8032022
commit 4ef10c6f06

View file

@ -301,6 +301,8 @@ define([
record.set('check', !record.get('check')); record.set('check', !record.get('check'));
if (record.get('optionName') == 'SelectLockedCells' && record.get('check')) if (record.get('optionName') == 'SelectLockedCells' && record.get('check'))
this.optionsList.store.findWhere({optionName: 'SelectUnlockedCells'}).set('check', true); 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}); // listView.scroller.update({minScrollbarLength : 40, alwaysVisibleY: true, suppressScrollX: true});
} }
}, },