Page MenuHomePhabricator

Make Cmd+Enter work to submit a form
ClosedPublic

Authored by sophiebits on Apr 4 2014, 1:59 AM.
Tags
None
Referenced Files
F13999653: D8699.diff
Thu, Oct 24, 4:13 PM
F13960262: D8699.diff
Oct 14 2024, 10:41 PM
Unknown Object (File)
Oct 9 2024, 3:49 PM
Unknown Object (File)
Sep 19 2024, 2:09 AM
Unknown Object (File)
Sep 19 2024, 1:50 AM
Unknown Object (File)
Sep 12 2024, 9:22 AM
Unknown Object (File)
Sep 12 2024, 9:22 AM
Unknown Object (File)
Sep 11 2024, 7:48 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rP077f57f06dee: 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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sophiebits added a task: Restricted Maniphest Task.
sophiebits retitled this revision from to Make Cmd+Enter work to submit a form.
sophiebits updated this object.
sophiebits edited the test plan for this revision. (Show Details)
sophiebits added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Apr 4 2014, 2:00 AM
epriestley updated this revision to Diff 20633.

Closed by commit rP077f57f06dee (authored by @spicyj, committed by @epriestley).