Sigh... I was sure it was something simple, but I didn't expect it to
be quite that simple. Thanks for the catch, Martin - fixing the case
did the trick.
And yes, Al, the try block is pointless - I originally had something a
little more complicated than an alert() in there and I wrapped the try
around it just to be sure my code wasn't causing an error that was
getting eaten for some reason.
Thanks again,
Noah
On Jan 23, 5:28 pm, "Al" <[EMAIL PROTECTED]> wrote:
> On Jan 24, 12:49 am, "Martin Bialasinski" <[EMAIL PROTECTED]> wrote:
>
> > > On 1/24/07, noah_ten <[EMAIL PROTECTED]> wrote:
>
> > > I'm having some trouble getting afterfinish to be called properly.
> > It is called "afterFinish". Javascript is case-sensitive.Also, if I'm not
> > mistaken, the try...catch block is doing nothing.
> Try...catch tries the code in try {} and if there's an error, it'll
> catch it and break into that. Well, all you're doing here is TRYing an
> alert, which is always be fine, so you'll never catch an error. Maybe
> you want to do this as you'll eventually change the code, but if you
> were looking to catch an error during the Effect.Highlight, then you'll
> need to do something else rather then the try...catch you have.
>
> Al
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---