Commit e2645774 by Greg Price

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

Fix discussion error popup on http request abort
parents d5973a0e 78fd5cc1
......@@ -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"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment