Commit 41ef927b authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] when customization.showReviewChanges == true "track revisions" mode must be off.

parent 1cb269d1
...@@ -205,7 +205,7 @@ define([ ...@@ -205,7 +205,7 @@ define([
} else { } else {
var iconEl = $('.btn-icon', this.statusbar.btnReview.cmpEl); 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); (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); this.changeReviewStatus(!this.statusbar.mode.isLightVersion);
// show tooltip "track changes in this document" and change icon // show tooltip "track changes in this document" and change icon
if (this.showTrackChangesTip && !statusbarIsHidden){ if (this.showTrackChangesTip && !statusbarIsHidden){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment