diff --git a/app/assets/javascripts/discourse/mixins/ajax.js b/app/assets/javascripts/discourse/mixins/ajax.js index 8ebf34212db..913cbed1a12 100644 --- a/app/assets/javascripts/discourse/mixins/ajax.js +++ b/app/assets/javascripts/discourse/mixins/ajax.js @@ -65,7 +65,7 @@ Discourse.Ajax = Em.Mixin.create({ // If it's a parseerror, don't reject if (xhr.status === 200) return args.success(xhr); - promise.reject(xhr); + Ember.run(promise, promise.reject, xhr); if (oldError) oldError(xhr); };