From 125a5ec6068ee8dc1a3d540816d346aad0cf1018 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 15 Nov 2017 16:28:31 +0000 Subject: [PATCH] temporarily avoid exception in ace event handler full fix will be to use the angular $http cancellation mechanism --- .../directives/aceEditor/spell-check/SpellCheckManager.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee index d6b7a02987..5d420a29b4 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee @@ -23,8 +23,8 @@ define [ @editor.on "changeSession", (e) => @highlightedWordManager.reset() - if @inProgressRequest? - @inProgressRequest.abort() + # if @inProgressRequest? + # @inProgressRequest.abort() if @$scope.spellCheckEnabled and @$scope.spellCheckLanguage and @$scope.spellCheckLanguage != "" @runSpellCheckSoon(200)