From cba014bbc7fc5bf159e398506050c29aa65986cd Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 7 Nov 2017 15:00:11 +0300 Subject: [PATCH] Save co-editing mode option when changed from Collaborative tab. --- apps/common/main/lib/controller/ReviewChanges.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/common/main/lib/controller/ReviewChanges.js b/apps/common/main/lib/controller/ReviewChanges.js index 96b3f31e8..e3aafaaaf 100644 --- a/apps/common/main/lib/controller/ReviewChanges.js +++ b/apps/common/main/lib/controller/ReviewChanges.js @@ -523,6 +523,7 @@ define([ onCoAuthMode: function(menu, item, e) { Common.localStorage.setItem(this.view.appPrefix + "settings-coauthmode", item.value); + Common.Utils.InternalSettings.set(this.view.appPrefix + "settings-coauthmode", item.value); if (this.api) { this.api.asc_SetFastCollaborative(item.value==1); @@ -542,6 +543,7 @@ define([ value = (!item.value && value!==null) ? parseInt(value) : 1; Common.localStorage.setItem(this.view.appPrefix + "settings-autosave", value); + Common.Utils.InternalSettings.set(this.view.appPrefix + "settings-autosave", value); this.api.asc_setAutoSaveGap(value); } Common.NotificationCenter.trigger('edit:complete', this.view);