Hi,
I have added a few lines to Autocompleter.Base.prototype in the
onKeyPress function after the else before the AppleWebKit fix:
if (event.keyCode==Event.KEY_SPACE && event.ctrlKey) {
Event.stop(event);
this.startIndicator();
this.getUpdatedChoices();
return;
}
WHAT IT DOES:
on CTRL-SPACE it executes the autoupdatr and shows all (like in any
RAD-IDE)
(you have to fix prototype.js with Event.KEY_SPACE: 32)
WHAT IT DOES NOT:
in runs only in IE, as in Moz/Firefox/Camino event.keyCode seems always
to be 0
any idea?
Hinnack
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---