diff --git a/apps/documenteditor/main/app/controller/Statusbar.js b/apps/documenteditor/main/app/controller/Statusbar.js index db122880e..987e3619d 100644 --- a/apps/documenteditor/main/app/controller/Statusbar.js +++ b/apps/documenteditor/main/app/controller/Statusbar.js @@ -103,6 +103,7 @@ define([ if (cfg.canReview) { me.btnTurnReview = review.getButton('turn', 'statusbar'); me.btnTurnReview.render(me.statusbar.$layout.find('#btn-doc-review')); + me.statusbar.btnTurnReview = me.btnTurnReview; } else { me.statusbar.$el.find('.el-review').hide(); } diff --git a/apps/documenteditor/main/app/view/Statusbar.js b/apps/documenteditor/main/app/view/Statusbar.js index 62a7fdb48..d3731cf1c 100644 --- a/apps/documenteditor/main/app/view/Statusbar.js +++ b/apps/documenteditor/main/app/view/Statusbar.js @@ -366,6 +366,7 @@ define([ SetDisabled: function(disable) { this.btnLanguage.setDisabled(disable || this.langMenu.items.length<1); + this.btnTurnReview && this.btnTurnReview.setDisabled(disable); }, onApiCoAuthoringDisconnect: function() {