El Jul 10, 2007, a las 1:24 AM, Keith escribió:

> Well, I figured it out.

The hook needs a function. There, you are passing the function's name  
as a string and eval'ing that to get to the function. It is shorter  
to pass the function directly:

   oad_AutoComplete(MyFunc); // no quotes

-- fxn


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to