[DE] Fix setting option Realtime collaboration changes to "View All"
This commit is contained in:
parent
2e57695d06
commit
680f549846
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue