temporarily avoid exception in ace event handler
full fix will be to use the angular $http cancellation mechanism
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user