thanks for the quick reply! patch works. :) On Wed, Oct 29, 2008 at 3:17 PM, darrinholst <[EMAIL PROTECTED]> wrote: > > Please see Tobie's response at the end of > http://prototype.lighthouseapp.com/projects/8886/tickets/334-onsuccessfailure-not-dispatched-to-ajaxresponders. > You could use the 5 line patch in the ticket while waiting for the > custom events to show. > > On Oct 29, 8:46 am, "Mona Remlawi" <[EMAIL PROTECTED]> wrote: >> Hi Prototypers, >> It would be nice to be able to register an onFailure handler using the >> Ajax.Responders.register method. >> Now, one has to: >> >> Ajax.Responders.register({ >> onComplete: function(request) { >> if(request.success() === false) { >> // failed, what do u wanna do >> } >> } >> >> } >> >> cheers, >> mona > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---