From fe73a1a7fb77e676fb79293c3e738eea6fe67dab Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 10 Feb 2021 16:40:31 +0300 Subject: [PATCH] [DE] Fix for track changes plugin --- apps/common/main/lib/controller/ReviewChanges.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/controller/ReviewChanges.js b/apps/common/main/lib/controller/ReviewChanges.js index 7e8639f33..ec828410c 100644 --- a/apps/common/main/lib/controller/ReviewChanges.js +++ b/apps/common/main/lib/controller/ReviewChanges.js @@ -572,8 +572,8 @@ define([ if ( this.appConfig.canReview ) { state = (state == 'on'); - this.api.asc_SetTrackRevisions(state); Common.localStorage.setItem(this.view.appPrefix + "track-changes-" + (this.appConfig.fileKey || ''), state ? 1 : 0); + this.api.asc_SetTrackRevisions(state); this.view.turnChanges(state); }