added todo

This commit is contained in:
Sam 2015-01-30 15:11:46 +11:00
parent 1b1ea8e718
commit 784697bf12

View file

@ -63,6 +63,8 @@ Discourse.Ajax = Em.Mixin.create({
xhr.jqTextStatus = textStatus;
xhr.requestedUrl = url;
// TODO is this sequence correct? we are calling catch defined externally before
// the error that was defined inline, it should probably be in reverse
Ember.run(null, reject, xhr);
if (oldError) oldError(xhr);
};