Page MenuHomePhabricator

Transactions - make ctrl + enter submit ajax-style
ClosedPublic

Authored by btrahan on May 3 2014, 12:42 AM.
Tags
None
Referenced Files
F15509639: D8961.diff
Wed, Apr 16, 2:57 PM
F15469522: D8961.diff
Fri, Apr 4, 2:09 PM
F15408471: D8961.id21258.diff
Tue, Mar 18, 11:20 PM
F15402071: D8961.id21258.diff
Mar 17 2025, 8:28 PM
F15400990: D8961.id.diff
Mar 17 2025, 3:06 PM
F15400592: D8961.id21260.diff
Mar 17 2025, 12:44 PM
F15396379: D8961.diff
Mar 16 2025, 1:53 PM
F15320222: D8961.diff
Mar 6 2025, 9:46 PM
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
Lint
Lint Skipped
Unit
Tests Skipped

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.