mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 00:00:33 -04:00
added todo
This commit is contained in:
parent
1b1ea8e718
commit
784697bf12
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue