Merge pull request #699 from ONLYOFFICE/fix/bugfix

[DE] Fix for track changes plugin
This commit is contained in:
Julia Radzhabova 2021-02-10 16:54:05 +03:00 committed by GitHub
commit 48ddb8c5b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}