From 680f5498468ad2dc79528279cf4625e1c8589099 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 7 May 2018 15:47:44 +0300 Subject: [PATCH] [DE] Fix setting option Realtime collaboration changes to "View All" --- apps/documenteditor/main/app/controller/LeftMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 3c028b807..3550e050e 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -321,13 +321,13 @@ define([ this.api.asc_SetFastCollaborative(fast_coauth); value = Common.localStorage.getItem((fast_coauth) ? "de-settings-showchanges-fast" : "de-settings-showchanges-strict"); + Common.Utils.InternalSettings.set((fast_coauth) ? "de-settings-showchanges-fast" : "de-settings-showchanges-strict", value); switch(value) { case 'all': value = Asc.c_oAscCollaborativeMarksShowType.All; break; case 'none': value = Asc.c_oAscCollaborativeMarksShowType.None; break; case 'last': value = Asc.c_oAscCollaborativeMarksShowType.LastChanges; break; default: value = (fast_coauth) ? Asc.c_oAscCollaborativeMarksShowType.None : Asc.c_oAscCollaborativeMarksShowType.LastChanges; } - Common.Utils.InternalSettings.set((fast_coauth) ? "de-settings-showchanges-fast" : "de-settings-showchanges-strict", value); this.api.SetCollaborativeMarksShowType(value); }