Skip to content
Snippets Groups Projects
Commit 78fd5cc1 authored by Alan Boudreault's avatar Alan Boudreault
Browse files

Fix discussion error popup on http request abort

parent 87e292ba
No related merge requests found
......@@ -120,7 +120,9 @@ if Backbone?
)
@trigger "thread:responses:rendered"
@loadedResponses = true
error: (xhr) =>
error: (xhr, textStatus) =>
return if textStatus == 'abort'
if xhr.status == 404
DiscussionUtil.discussionAlert(
gettext("Sorry"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment