playframework/Play20 — pull request #124 by mbardea (2012-02-12 22:55:27+00:00)
Title: websocket-chat sample - Fix to work in Firefox

When listening for keypress events (Javascript), Firefox will set e.charCode == 0 instead of 13 as expected.

The workaround is to test for both e.charCode and e.keyCode.

Regards,
Manuel