Ok, I've modified the controls.js now and added a 'return' after case
Event.KEY_TAB: - now the Tab-key won't be handled like the return key
anymore. Will this bring on any difficulties with other browsers?

  onKeyPress: function(event) {
      switch(event.keyCode) {
       case Event.KEY_TAB:

thank you very much!

On 13 Jul., 03:55, z0ika <[EMAIL PROTECTED]> wrote:
> Hello!
> I would like to avoid inserting objects, when thetab<key> has been
> pressed, only the enter key should do this. is this possible? Thank
> you very much!
> Cheers,
> z0ika
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to