[SSE] Fix wb password
This commit is contained in:
parent
74a479045b
commit
4bfc767a60
|
@ -150,7 +150,7 @@ define([
|
|||
btn = result;
|
||||
if (result == 'ok') {
|
||||
if (me.api) {
|
||||
props.asc_setLockStructure(value, _.bind(me.onSetProtectedWorkbook, me));
|
||||
props.asc_setLockStructure(value && value.drmOptions ? value.drmOptions.asc_getPassword() : undefined, _.bind(me.onSetProtectedWorkbook, me));
|
||||
}
|
||||
Common.NotificationCenter.trigger('edit:complete');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue