Hey Walter,

Walter Lee Davis a écrit :
> OnSuccess happens the moment that the Updater connects to the server or 
> whatever it's contacting. It's that kind of success, not the success of 
> finishing something.

Sorry to say, but 100% wrong.

onSuccess is a Prototype-based event that triggers alternatively to
onFailure *right before* onComplete, based on the analysis of the HTTP
response status code ([200;300[).

It's in the docs: http://prototypejs.org/api/ajax/options

Now the onSuccess/onFailure/onComplete events work fine with me on A.R
and A.U, so can the OP please put some reproducible case online, making
sure they use the latest public Prototype (1.5.1 final)?

-- 
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to