temporarily avoid exception in ace event handler

full fix will be to use the angular $http cancellation mechanism
This commit is contained in:
Brian Gough 2017-11-15 16:28:31 +00:00
parent 2a7e68e37b
commit 125a5ec606

View file

@ -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)