patrickrolanddg / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
0 stars 0 forks source link

pressing enter in the post field newlines instead of being caught #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
the javascript should eat the keypress so that we don't create a newline

Original issue reported on code.google.com by andyster on 14 Mar 2009 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by tony.t.t...@gmail.com on 27 Mar 2009 at 9:41

GoogleCodeExporter commented 9 years ago
I can't reproduce this locally with firefox2... This is for posting a new 
message, right?

Original comment by tony.t.t...@gmail.com on 27 Mar 2009 at 10:09

GoogleCodeExporter commented 9 years ago
I can definitely reproduce, when hitting enter it moves to the next line before
submitting. The code is in the main .js file, the onKeypress handler probably 
needs
to prevent default action on hitting enter

Original comment by andyster on 2 Apr 2009 at 8:50

GoogleCodeExporter commented 9 years ago

Original comment by andyster on 16 Apr 2009 at 9:22