FIXES #1833, thanks @stefanpenner
This commit is contained in:
parent
2f04acdfd4
commit
0c0833d6b9
|
@ -65,7 +65,7 @@ Discourse.Ajax = Em.Mixin.create({
|
||||||
// If it's a parseerror, don't reject
|
// If it's a parseerror, don't reject
|
||||||
if (xhr.status === 200) return args.success(xhr);
|
if (xhr.status === 200) return args.success(xhr);
|
||||||
|
|
||||||
promise.reject(xhr);
|
Ember.run(promise, promise.reject, xhr);
|
||||||
if (oldError) oldError(xhr);
|
if (oldError) oldError(xhr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue