[DE] Lock protect tab
This commit is contained in:
parent
e7e077c76d
commit
0c1668aecc
|
@ -791,7 +791,8 @@ define([
|
|||
viewport: false,
|
||||
documentHolder: true,
|
||||
toolbar: true,
|
||||
plugins: true
|
||||
plugins: true,
|
||||
protect: true
|
||||
}, 'review');
|
||||
|
||||
// if (this.view) {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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]});
|
||||
|
|
|
@ -411,7 +411,8 @@ define([
|
|||
viewport: false,
|
||||
documentHolder: true,
|
||||
toolbar: true,
|
||||
plugins: false
|
||||
plugins: false,
|
||||
protect: false
|
||||
}, 'signature');
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue