Don't close signature settings when document has been signed.
This commit is contained in:
parent
21fe777282
commit
e17fa5ffea
|
@ -327,9 +327,11 @@ define([
|
|||
if (this._state.DisabledEditing != disable) {
|
||||
this._state.DisabledEditing = disable;
|
||||
|
||||
disable && DE.getController('RightMenu').getView('RightMenu').clearSelection();
|
||||
var rightMenuController = DE.getController('RightMenu');
|
||||
if (disable && rightMenuController.rightmenu.GetActivePane() !== 'id-signature-settings')
|
||||
rightMenuController.rightmenu.clearSelection();
|
||||
rightMenuController.SetDisabled(disable, false, true);
|
||||
DE.getController('Toolbar').DisableToolbar(disable, disable);
|
||||
DE.getController('RightMenu').SetDisabled(disable, false, true);
|
||||
DE.getController('Statusbar').getView('Statusbar').SetDisabled(disable);
|
||||
DE.getController('Common.Controllers.ReviewChanges').SetDisabled(disable);
|
||||
DE.getController('DocumentHolder').getView().SetDisabled(disable);
|
||||
|
|
|
@ -245,8 +245,10 @@ define([
|
|||
if (this._state.DisabledEditing != disable) {
|
||||
this._state.DisabledEditing = disable;
|
||||
|
||||
disable && PE.getController('RightMenu').getView('RightMenu').clearSelection();
|
||||
PE.getController('RightMenu').SetDisabled(disable, true);
|
||||
var rightMenuController = PE.getController('RightMenu');
|
||||
if (disable && rightMenuController.rightmenu.GetActivePane() !== 'id-signature-settings')
|
||||
rightMenuController.rightmenu.clearSelection();
|
||||
rightMenuController.SetDisabled(disable, true);
|
||||
PE.getController('Toolbar').DisableToolbar(disable, disable);
|
||||
PE.getController('Statusbar').getView('Statusbar').SetDisabled(disable);
|
||||
PE.getController('Common.Controllers.ReviewChanges').SetDisabled(disable);
|
||||
|
|
|
@ -327,9 +327,11 @@ define([
|
|||
if (this._state.DisabledEditing != disable) {
|
||||
this._state.DisabledEditing = disable;
|
||||
|
||||
disable && SSE.getController('RightMenu').getView('RightMenu').clearSelection();
|
||||
var rightMenuController = SSE.getController('RightMenu');
|
||||
if (disable && rightMenuController.rightmenu.GetActivePane() !== 'id-signature-settings')
|
||||
rightMenuController.rightmenu.clearSelection();
|
||||
rightMenuController.SetDisabled(disable, true);
|
||||
SSE.getController('Toolbar').DisableToolbar(disable, disable);
|
||||
SSE.getController('RightMenu').SetDisabled(disable, true);
|
||||
SSE.getController('Common.Controllers.ReviewChanges').SetDisabled(disable);
|
||||
SSE.getController('DocumentHolder').SetDisabled(disable);
|
||||
SSE.getController('Statusbar').SetDisabled(disable);
|
||||
|
|
Loading…
Reference in a new issue