I see...yes, that works!
thanks very much!! :D
ps: sorry for my english ;)
On 17 Lut, 18:41, david <david.brill...@gmail.com> wrote:
> Hi marioosh,
>
> TJ is right, when you call the doit function via fun, the 'this' value
> is equal to Object window.
> So you need a little more binding to resolve your problem:
>
> replace the call to ""this.minimize(this.doit);"" by ""this.minimize
> (this.doit.bind(this));""
>
> --
> david
--~--~---------~--~----~------------~-------~--~----~
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 email to
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---