On Fri, Apr 4, 2008 at 4:01 PM, Jon L. <[EMAIL PROTECTED]> wrote:
>
>  [correction]
>
>  Should it just be?
>     return (status >= 200 && status < 300);
>
>  - Jon L.

status is zero for local ajax calls which are used for unit testing
and potentially used for offline development.  See my patch, which, as
you can see from tobie's comments, does not handle all situations in
all browsers.

http://dev.rubyonrails.org/attachment/ticket/10191/ajax.js.diff

- Ken Snyder

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to