Skip to content
Snippets Groups Projects
Commit e2645774 authored by Greg Price's avatar Greg Price
Browse files

Merge pull request #5127 from aboudreault/discussion-request-abort-issue

Fix discussion error popup on http request abort
parents d5973a0e 78fd5cc1
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