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
Unknown Object (File)
Tue, Jan 7, 10:34 AM
Unknown Object (File)
Sun, Jan 5, 8:21 AM
Unknown Object (File)
Sat, Dec 28, 12:24 AM
Unknown Object (File)
Fri, Dec 27, 7:58 AM
Unknown Object (File)
Sat, Dec 21, 1:55 PM
Unknown Object (File)
Thu, Dec 19, 10:44 PM
Unknown Object (File)
Dec 12 2024, 11:43 PM
Unknown Object (File)
Dec 11 2024, 3:22 AM
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).