I wanted to open up this thread again because I found a problem with my patch code (pastie linked earlier). Currently the code just blindly attaches the key listeners to the form control (input or textarea), but in the case of a textarea element it obviously doesn't make sense to submit the form when enter is pressed.
The easy fix for this would be to *not* attach the key listeners if the control is a textarea (this.options.rows > 1). This has the side effect of not canceling edit mode in the event of hitting the escape key unless the key listener was modified to do a similar check (is it a textarea or not) before invoking the submit action. -justin On Jan 15, 3:10 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 9:59 AM, Steve Prior <[EMAIL PROTECTED]> wrote: > > > Thanks, if you follow the link on > > >http://script.aculo.us/downloads > > > you still get the 1.8.0 version. > > fyi, I just grabbed the latest version (1.8.1) from the site today > with no issues. > > -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
