Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
ab04f537
Commit
ab04f537
authored
Aug 09, 2016
by
Brian Jacobel
Committed by
GitHub
Aug 09, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13200 from edx/bjacobel/abort-discussion-request
Fix discussions error with unabortable jqXHRs
parents
71b0ea8f
994c6caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
common/static/common/js/discussion/views/discussion_thread_view.js
+4
-1
No files found.
common/static/common/js/discussion/views/discussion_thread_view.js
View file @
ab04f537
...
@@ -213,7 +213,10 @@
...
@@ -213,7 +213,10 @@
};
};
DiscussionThreadView
.
prototype
.
cleanup
=
function
()
{
DiscussionThreadView
.
prototype
.
cleanup
=
function
()
{
if
(
this
.
responsesRequest
)
{
// jQuery.ajax after 1.5 returns a jqXHR which doesn't implement .abort
// but I don't feel confident enough about what's going on here to remove this code
// so just check to make sure we can abort before we try to
if
(
this
.
responsesRequest
&&
this
.
responsesRequest
.
abort
)
{
return
this
.
responsesRequest
.
abort
();
return
this
.
responsesRequest
.
abort
();
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment