Commit 994c6caa by Brian Jacobel

Bring a bugfix from discussions feature branch over

parent 9a367f64
...@@ -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();
} }
}; };
......
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