[SSE] For Bug 53952

This commit is contained in:
Julia Radzhabova 2021-11-22 19:44:20 +03:00
parent dde0ad7023
commit f01af017ad

View file

@ -2250,7 +2250,8 @@ define([
handler: function (result, value) {
if (result == 'ok') {
if (me.api) {
if (me.api.asc_checkActiveCellPassword(value.drmOptions.asc_getPassword())) {
me.api.asc_checkActiveCellPassword(value.drmOptions.asc_getPassword(), function(res) {
if (res) {
callback && setTimeout(function() {
callback.apply(scope, args);
}, 1);
@ -2262,6 +2263,7 @@ define([
}
});
}
});
}
}
Common.NotificationCenter.trigger('edit:complete', me.toolbar);