1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc
Ben Alpert 077f57f06d Make Cmd+Enter work to submit a form
Summary:
Fixes T3010.

`keydown` is what you're supposed to use for special keys like `Enter`; `keypress` didn't work for me for Cmd+Enter on Chrome.

Test Plan: Submitted a Differential field with Cmd+Enter on Chrome Mac. Also made sure Ctrl+Enter still works and Opt+Enter does not.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T3010

Differential Revision: https://secure.phabricator.com/D8699
2014-04-03 19:00:47 -07:00
..
css Smoother scrolling in mobile diffs 2014-04-03 18:02:55 -07:00
externals Use Array.prototype.slice in JX.$A 2014-04-03 09:44:36 -07:00
image Tweak Psyduck 2014-03-27 19:36:51 -07:00
js Make Cmd+Enter work to submit a form 2014-04-03 19:00:47 -07:00
swf Various linter fixes. 2014-02-26 12:44:58 -08:00