[SSE] Fix lock for protected ranges

This commit is contained in:
Julia Radzhabova 2021-11-09 13:01:42 +03:00
parent 55cbca2a43
commit 86a1b56937

View file

@ -168,6 +168,7 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
name: ranges[i].asc_getName() || '', name: ranges[i].asc_getName() || '',
pwd: ranges[i].asc_isPassword(), pwd: ranges[i].asc_isPassword(),
range: ranges[i].asc_getSqref() || '', range: ranges[i].asc_getSqref() || '',
rangeId: ranges[i].asc_getId(),
props: ranges[i], props: ranges[i],
lock: (id!==null && id!==undefined), lock: (id!==null && id!==undefined),
lockuser: (id) ? this.getUserName(id) : this.guestText lockuser: (id) ? this.getUserName(id) : this.guestText