Re: Editor Ender Rules
Patrick Cloke <[email protected]> Mon, 27 Dec 2010 17:57:09 -0500
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Message-ID | <[email protected]> |
On 12/27/2010 5:36 PM, Neil wrote: > Patrick Cloke wrote: > >> If someone has an idea of how I could work around this in an easier >> way I'd be interested, but a lot of the documentation seems poorly >> documented. > > How are you watching for the enter that is used to send the message? If > you are using a JavaScript key event listener, try calling > preventDefault() on the enter key event. > I am using a JavaScript event listener, I thought I had tried that already, but apparently not! It works. Thanks a lot Neil! -Patrick