[DE] Lock protect tab
This commit is contained in:
parent
e7e077c76d
commit
0c1668aecc
|
@ -791,7 +791,8 @@ define([
|
||||||
viewport: false,
|
viewport: false,
|
||||||
documentHolder: true,
|
documentHolder: true,
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
plugins: true
|
plugins: true,
|
||||||
|
protect: true
|
||||||
}, 'review');
|
}, 'review');
|
||||||
|
|
||||||
// if (this.view) {
|
// if (this.view) {
|
||||||
|
|
|
@ -310,7 +310,8 @@ define([
|
||||||
viewport: false,
|
viewport: false,
|
||||||
documentHolder: true,
|
documentHolder: true,
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
plugins: false
|
plugins: false,
|
||||||
|
protect: true
|
||||||
}, 'forms');
|
}, 'forms');
|
||||||
if (this.view)
|
if (this.view)
|
||||||
this.view.$el.find('.no-group-mask.form-view').css('opacity', 1);
|
this.view.$el.find('.no-group-mask.form-view').css('opacity', 1);
|
||||||
|
|
|
@ -751,7 +751,8 @@ define([
|
||||||
viewport: true,
|
viewport: true,
|
||||||
documentHolder: true,
|
documentHolder: true,
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
plugins: false
|
plugins: false,
|
||||||
|
protect: false
|
||||||
}, temp ? 'reconnect' : 'disconnect');
|
}, temp ? 'reconnect' : 'disconnect');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -805,6 +806,9 @@ define([
|
||||||
if (options.plugins) {
|
if (options.plugins) {
|
||||||
app.getController('Common.Controllers.Plugins').getView('Common.Views.Plugins').disableControls(disable);
|
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) {
|
if (prev_options) {
|
||||||
this.onEditingDisable(prev_options.disable, prev_options.options, prev_options.type);
|
this.onEditingDisable(prev_options.disable, prev_options.options, prev_options.type);
|
||||||
|
|
|
@ -855,7 +855,8 @@ define([
|
||||||
viewport: false,
|
viewport: false,
|
||||||
documentHolder: true,
|
documentHolder: true,
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
plugins: false
|
plugins: false,
|
||||||
|
protect: false
|
||||||
}, 'mailmerge');
|
}, 'mailmerge');
|
||||||
|
|
||||||
this.lockControls(DE.enumLockMM.preview, disable, {array: [this.btnInsField, this.btnEditData]});
|
this.lockControls(DE.enumLockMM.preview, disable, {array: [this.btnInsField, this.btnEditData]});
|
||||||
|
|
|
@ -411,7 +411,8 @@ define([
|
||||||
viewport: false,
|
viewport: false,
|
||||||
documentHolder: true,
|
documentHolder: true,
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
plugins: false
|
plugins: false,
|
||||||
|
protect: false
|
||||||
}, 'signature');
|
}, 'signature');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue