Hello! I am trying to use the in place editor of script.aculo.us. Everything is working fine so far. I can edit all the fields in a table without a single refresh etc. Unfortunately both IE and Firefox tell me, that there is an error in the "effects.js" file of script.aculo.us: $w is not defined Element.CSS_PROPERTIES = $w{ effects.js (line 1046) Whenever I include the "scriptaculous.js" file in my templates, I get this error. Even without initialising any script.aculo.us effects. I am using script.aculo.us 1.7.0. Is this a known bug? How can I fix this? Thanks for your response! Michael Simmons --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You''re probably not using the version of prototype.js that comes with scriptaculous, or you''re including the libraries in the wrong order. Best, Thomas Am 06.08.2007 um 19:44 schrieb infotiger:> > Hello! > > I am trying to use the in place editor of script.aculo.us. Everything > is working fine so far. I can edit all the fields in a table without a > single refresh etc. Unfortunately both IE and Firefox tell me, that > there is an error in the "effects.js" file of script.aculo.us: > > $w is not defined > Element.CSS_PROPERTIES = $w{ > > effects.js (line 1046) > > Whenever I include the "scriptaculous.js" file in my templates, I get > this error. Even without initialising any script.aculo.us effects. I > am using script.aculo.us 1.7.0. > > Is this a known bug? How can I fix this? > Thanks for your response! > > Michael Simmons > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You were right. I was using prototype 1.5.0 RC3 instead of 1.5.0 final. Now everything is working fine. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---