[DE] Lock protect tab

This commit is contained in:
Julia Radzhabova 2021-12-30 12:10:23 +03:00
parent e7e077c76d
commit 0c1668aecc
5 changed files with 13 additions and 5 deletions

View file

@ -791,7 +791,8 @@ define([
viewport: false,
documentHolder: true,
toolbar: true,
plugins: true
plugins: true,
protect: true
}, 'review');
// if (this.view) {

View file

@ -310,7 +310,8 @@ define([
viewport: false,
documentHolder: true,
toolbar: true,
plugins: false
plugins: false,
protect: true
}, 'forms');
if (this.view)
this.view.$el.find('.no-group-mask.form-view').css('opacity', 1);

View file

@ -751,7 +751,8 @@ define([
viewport: true,
documentHolder: true,
toolbar: true,
plugins: false
plugins: false,
protect: false
}, temp ? 'reconnect' : 'disconnect');
},
@ -805,6 +806,9 @@ define([
if (options.plugins) {
app.getController('Common.Controllers.Plugins').getView('Common.Views.Plugins').disableControls(disable);
}
if (options.protect) {
app.getController('Common.Controllers.Protection').SetDisabled(disable, false);
}
if (prev_options) {
this.onEditingDisable(prev_options.disable, prev_options.options, prev_options.type);

View file

@ -855,7 +855,8 @@ define([
viewport: false,
documentHolder: true,
toolbar: true,
plugins: false
plugins: false,
protect: false
}, 'mailmerge');
this.lockControls(DE.enumLockMM.preview, disable, {array: [this.btnInsField, this.btnEditData]});

View file

@ -411,7 +411,8 @@ define([
viewport: false,
documentHolder: true,
toolbar: true,
plugins: false
plugins: false,
protect: false
}, 'signature');
}
},