[jquery-dev] Re: aborting Ajax calls the success callback

2010-01-25 Thread homm
I agree with alexander farkas. When I get success, I expect full response in data parameter. What need I do with half of XML? Or, where can I insert cut of html? This data is unnecessary for me in success- callback. On 17 янв, 05:47, alexander farkas wrote: > Is it intended, thatabortinganAjaxwil

[jquery-dev] Re: aborting Ajax calls the success callback

2010-01-17 Thread alexander farkas
> I think calling error: with a statusText of "abort" would be the more > intuitive way of handling this. Sorry, why should you want to handle abort the same way you handle an error? If you intentional abort a request, it stops/completes, but i don´t see an error in this. Why not simply use the c

[jquery-dev] Re: aborting Ajax calls the success callback

2010-01-16 Thread alexander farkas
I think, it should only call complete and the status message should be "abort" (or the readyState property is always 0). In most cases abort is used to cancel the request and the default handling/succes handling, because the request became unneeded. An error doesn´t fit, either. This would make pr