Page MenuHomePhabricator

Transactions - make ctrl + enter submit ajax-style
ClosedPublic

Authored by btrahan on May 3 2014, 12:42 AM.
Tags
None
Referenced Files
F19827561: D8961.diff
Mon, Mar 9, 10:19 AM
F19822867: D8961.id21258.diff
Sat, Mar 7, 9:00 AM
F19763643: D8961.id21260.diff
Wed, Feb 18, 8:30 PM
F19745839: D8961.id21258.diff
Sun, Feb 15, 4:46 PM
F19557936: D8961.diff
Jan 30 2026, 11:05 PM
F18854849: D8961.id.diff
Nov 1 2025, 12:39 AM
F18755997: D8961.id21260.diff
Oct 5 2025, 8:37 AM
F18749081: D8961.id21260.diff
Oct 4 2025, 2:20 AM
Subscribers

Details

Summary

We were correctly invoking a didSyntheticSubmit event on the form, but nothing was listening to it. Re-jigger the workflow submit code a tad so an onsyntheticsubmit event handler can be written to fill this gap. Fixes T4669.

Test Plan

edited comments, submitting both via clicking the button and apple + enter LIKE A BOSS

Diff Detail

Repository
rP Phabricator
Branch
T4669
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 212
Build 212: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

btrahan retitled this revision from to Transactions - make ctrl + enter submit ajax-style.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

I poked at this for a bit but couldn't come up with anything cleaner, seems reasonable to me.

This revision is now accepted and ready to land.May 3 2014, 12:58 AM

yah, I didn't feel good about it, but someone has to win the ugly contest.

btrahan updated this revision to Diff 21260.

Closed by commit rPc995e93bc1c3 (authored by @btrahan).

btrahan edited edge metadata.