Re: Re: onComplete: handleSuccess - What gets passed?

Alex Duffield
Sat, 05 Aug 2006 16:54:55 -0000

cheers! I owe you a beer.
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://
www.incontrolsolutions.com



On 5-Aug-06, at 9:37 AM, Michael Peters wrote:

>
>
> Alex Duffield wrote:
>> That looks like it will work..
>>
>> or I could just pass the prams on to my complete function.. NO?
>>
>> onComplete: function(response) {
>>     yourOnComplete(response,prams);
>> }
>
> Exactly. That''s using the closure.
>
> --
> Michael Peters
> Developer
> Plus Three, LP
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs