mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 14:25:14 +08:00
added todo
This commit is contained in:
parent
1b1ea8e718
commit
784697bf12
@ -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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user