[Proto-Scripty] Re: callback decoration

2009-12-17 Thread Eric
Hi Sergio, I am not sure what you mean by make the bind but here is an example doing what you ask using ajax responders: Ajax.Responders.register({ onCreate: function(ar) { ar.options.onSuccess = ar.options.onSuccess || Prototype.emptyFunction; ar.options.onSuccess =

[Proto-Scripty] Re: callback decoration

2009-12-15 Thread Sergio Fernández
Using Ajax.Request(), I forgot to say it, sorry. On Dec 15, 3:45 pm, Sergio Fernández wik...@wikier.org wrote: In a experiment, I'm trying to decorate the callbacks, but I didn't find the way to make the bind... What I'd like to do is to firstly get the control over response's callback, do