[DE] wrong 'undo'/'redo' state for 'comparing' mode
This commit is contained in:
parent
e1a707e49c
commit
ba43c0d045
|
@ -339,6 +339,8 @@ define([
|
|||
$('#id-save-style-plus, #id-save-style-link', toolbar.$el).on('click', this.onMenuSaveStyle.bind(this));
|
||||
|
||||
this.onSetupCopyStyleButton();
|
||||
this.onBtnChangeState('undo:disabled', toolbar.btnUndo, toolbar.btnUndo.isDisabled());
|
||||
this.onBtnChangeState('redo:disabled', toolbar.btnRedo, toolbar.btnRedo.isDisabled());
|
||||
},
|
||||
|
||||
setApi: function(api) {
|
||||
|
@ -3382,4 +3384,4 @@ define([
|
|||
textInsert: 'Insert'
|
||||
|
||||
}, DE.Controllers.Toolbar || {}));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue