Spinoffers: Inside an event registered with Ajax.Responders.register, what can I determine about the Ajax.Request or Ajax.Updater that spawned this event? The ID of the source control, mounted on the wall under a spotlight with a brass plaque next to it describing it, would be nice, but I can settle for any hint, such as the action involved. -- Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> Inside an event registered with Ajax.Responders.register, what can I > determine about the Ajax.Request or Ajax.Updater that spawned this > event?Just got it: onComplete: function(originalReqest) { originalReqest.url ... The gap for me was I forgot JavaScript can call methods with varable argument counts.> -- > Phlip > http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!-- Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hey Phlip, Phlip a écrit :> The ID of the source control, mounted on the wall under a spotlight > with a brass plaque next to it describing it, would be nice, but I can > settle for any hint, such as the action involved.Responder callbacks are handed the following arguments: - onCreate: Requester, Transport - onException: Requester, Exception - Others: Requester, Transport, JSON eval (JS eval of the X-JSON response header, null otherwise) -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---