[Prototype-core] Ajax.Request order of onSuccess/Failure and onComplete

2007-09-18 Thread pennig
I've noticed that inside Ajax.Request's respondToReadyState function, when the readyState is "Complete", the onSuccess callback is called before the onComplete callback. This behavior has some important ramifications when using onSuccess with Ajax.Updater, and I was curious if the execution seque

[Prototype-core] Re: Event.observe to pass additional arguments to callback

2008-01-16 Thread Matt Pennig
> Any thoughts?? I didn't test this, so it's based on assumption – but couldn't you accomplish the same thing by using callBackFunc.bindAsEventListener (callBackFunc, extraArg1, extraArg2)? I would imagine that would retain the proper 'this&#x