In the documentation it states:

onXYZ   With XYZ being an HTTP status code for the response. Invoked
when the response just completed, and the status code is exactly the
one we used in the callback name. Prevents execution of onSuccess /
onFailure. Happens before onComplete.

Perhaps it should be noted that 302 responses (and similar redirects)
never reach the JavaScript engine. The browser handles the redirect
transparently before the response is parsed by JavaScript, and
therefore an on302 handler is never fired. Only valid end-states seem
to be possible - 200, 404, 500, etc...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
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