Closed mishal closed 8 years ago
I think both Request methods (sendForm
and send
) should return the jqXHR object if possible (sendForm
does not always use XHR, if it uses the iframe method, it should return null
). And then the TDI.Ajax.send
method should pass this value on.
I will update it this way.
I'm not sure if the return of jqXHR should bubble in the API, the
TDI.Ajax.Request.send
method is used in:TDI.Ajax.Request.sendForm
TDI.Ajax.send
and possible other places.