From 41ef927b8931bb3383d7223e46295378a875c927 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 29 Jun 2017 15:36:21 +0300 Subject: [PATCH] [DE] when customization.showReviewChanges == true "track revisions" mode must be off. --- apps/documenteditor/main/app/controller/Statusbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/Statusbar.js b/apps/documenteditor/main/app/controller/Statusbar.js index e65a4432c..8ef9483bd 100644 --- a/apps/documenteditor/main/app/controller/Statusbar.js +++ b/apps/documenteditor/main/app/controller/Statusbar.js @@ -205,7 +205,7 @@ define([ } else { var iconEl = $('.btn-icon', this.statusbar.btnReview.cmpEl); (this.api.asc_HaveRevisionsChanges()) ? iconEl.removeClass(this.statusbar.btnReviewCls).addClass('btn-ic-changes') : iconEl.removeClass('btn-ic-changes').addClass(this.statusbar.btnReviewCls); - if (value!==null && parseInt(value) == 1) { + if (value!==null && parseInt(value) == 1 && !showChangesPanel) { // when customization.showReviewChanges == true "track revisions" mode must be off!!! this.changeReviewStatus(!this.statusbar.mode.isLightVersion); // show tooltip "track changes in this document" and change icon if (this.showTrackChangesTip && !statusbarIsHidden){