[PE] Fix Bug 55867

This commit is contained in:
ShimaginAndrey 2022-03-03 17:49:55 +03:00
parent 3aff08333f
commit 81258c1830

View file

@ -627,10 +627,11 @@ class MainController extends Component {
}
onAdvancedOptions (type, advOptions) {
const { t } = this.props;
const _t = t('Controller.Main', {returnObjects:true});
if ($$('.dlg-adv-options.modal-in').length > 0) return;
const _t = this._t;
if (type == Asc.c_oAscAdvancedOptionsID.DRM) {
Common.Notifications.trigger('preloader:close');
Common.Notifications.trigger('preloader:endAction', Asc.c_oAscAsyncActionType['BlockInteraction'], this.LoadingDocument, true);