[DE] Fix Bug 41845
This commit is contained in:
parent
c5326a95a7
commit
51e2efcf9a
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue