mirror of
https://github.com/discourse/discourse.git
synced 2026-08-14 06:55:03 -05:00
added todo
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user