HomePhorge

Make control + enter submit forms if a textarea is focused

Description

Make control + enter submit forms if a textarea is focused

Summary:
This is straightforward, except that form.submit() does not call onsubmit handlers. Create a didSyntheticSubmit event and have everything which listens for form submits listen for it too.

Fixes T704.

Test Plan: Hit control + enter in inline comments, main commetns, Pholio, conpherence. Verified it triggered appropriate JS (workflow / special behaviors).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T704

Differential Revision: https://secure.phabricator.com/D4704

Details

Provenance
epriestleyAuthored on Jan 28 2013, 2:11 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPbb745731171f: Limit meme text height to half of the image
Branches
Unknown
Tags
Unknown

Event Timeline