[Proto-Scripty] Re: Sortables and scope

2008-10-13 Thread Adrian Osmond
Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send ema

[Proto-Scripty] Re: Sortables and scope

2008-10-13 Thread T.J. Crowder
More in this tip on the unofficial wiki: http://proto-scripty.wikidot.com/prototype:tip-using-an-instance-method-as-a-callback-or-event-handler -- T.J. :-) On Oct 13, 12:17 pm, "T.J. Crowder" <[EMAIL PROTECTED]> wrote: > Hi, > > > Unfortunately this doesn't work because it's not in the right sco

[Proto-Scripty] Re: Sortables and scope

2008-10-13 Thread T.J. Crowder
Hi, > Unfortunately this doesn't work because it's not in the right scope. You're looking for the bind() function: http://prototypejs.org/api/function/bind HTH, -- T.J. Crowder tj / crowder software / com On Oct 13, 11:22 am, Adrian Osmond <[EMAIL PROTECTED]> wrote: > I love how easy sortable