[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,9 +627,10 @@ class MainController extends Component {
} }
onAdvancedOptions (type, advOptions) { onAdvancedOptions (type, advOptions) {
if ($$('.dlg-adv-options.modal-in').length > 0) return; const { t } = this.props;
const _t = t('Controller.Main', {returnObjects:true});
const _t = this._t; if ($$('.dlg-adv-options.modal-in').length > 0) return;
if (type == Asc.c_oAscAdvancedOptionsID.DRM) { if (type == Asc.c_oAscAdvancedOptionsID.DRM) {
Common.Notifications.trigger('preloader:close'); Common.Notifications.trigger('preloader:close');