Does anyone know why success is defined as var status = this.getStatus(); return !status || (status >= 200 && status < 300); specifically why it is true if status is 0? I stumbled across this because I have an Ajax.Updater which I''ve been aborting. I''ve got it set up to update one div in case of success and another (non existant) div in case of failure (i''ve got an onFailure that does something sensible with the error, rather than just squishing a rails error page into some part of the page). However, if I abort the request this results in status being 0 (ie ! status is true), and so the actual content div is updated with the empty string. Is this the intended behaviour? Should an aborted request be consider a success, a failure or even neither? Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---