[DE] Fix Bug 41845

This commit is contained in:
Julia Radzhabova 2021-09-03 00:31:19 +03:00
parent c5326a95a7
commit 51e2efcf9a
2 changed files with 2 additions and 0 deletions

View file

@ -103,6 +103,7 @@ define([
if (cfg.canReview) { if (cfg.canReview) {
me.btnTurnReview = review.getButton('turn', 'statusbar'); me.btnTurnReview = review.getButton('turn', 'statusbar');
me.btnTurnReview.render(me.statusbar.$layout.find('#btn-doc-review')); me.btnTurnReview.render(me.statusbar.$layout.find('#btn-doc-review'));
me.statusbar.btnTurnReview = me.btnTurnReview;
} else { } else {
me.statusbar.$el.find('.el-review').hide(); me.statusbar.$el.find('.el-review').hide();
} }

View file

@ -366,6 +366,7 @@ define([
SetDisabled: function(disable) { SetDisabled: function(disable) {
this.btnLanguage.setDisabled(disable || this.langMenu.items.length<1); this.btnLanguage.setDisabled(disable || this.langMenu.items.length<1);
this.btnTurnReview && this.btnTurnReview.setDisabled(disable);
}, },
onApiCoAuthoringDisconnect: function() { onApiCoAuthoringDisconnect: function() {