From 443d77286629befe3bc32795da538c996de51e18 Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 16 Nov 2016 13:53:01 +0000 Subject: [PATCH] Don't clear entries when switching files --- .../aceEditor/track-changes/TrackChangesManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/track-changes/TrackChangesManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/track-changes/TrackChangesManager.coffee index ed7d306adb..a4b89ef8db 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/track-changes/TrackChangesManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/track-changes/TrackChangesManager.coffee @@ -8,6 +8,7 @@ define [ constructor: (@$scope, @editor, @element) -> window.trackChangesManager ?= @ + @$scope.reviewPanel.entries = {} @$scope.$watch "changesTracker", (changesTracker) => return if !changesTracker? @@ -84,7 +85,6 @@ define [ disconnectFromChangesTracker: () -> @changeIdToMarkerIdMap = {} - @$scope.reviewPanel.entries = {} if @changesTracker? @changesTracker.off "insert:added"