1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 17:02:41 +01:00
phorge-phorge/webroot/rsrc/js/application/differential
epriestley bc5617954a 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
2013-01-28 14:11:32 -08:00
..
behavior-accept-with-errors.js Toggle accept warnings on reload 2012-12-17 12:31:00 -08:00
behavior-add-reviewers-and-ccs.js Use Javelin placeholders and new sorting rules broadly; consolidate tokenizer construction code 2012-03-09 15:46:39 -08:00
behavior-comment-jump.js Let the viewer collapse/expand individual files in a diff. 2012-06-13 16:52:42 -07:00
behavior-comment-preview.js Handle error in comment preview 2012-10-01 16:12:23 -07:00
behavior-diff-radios.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
behavior-dropdown-menus.js Fix issues with Differential file toggling 2012-08-09 17:53:05 -07:00
behavior-edit-inline-comments.js Fix bug with mousein / mouseout event on comment preview at bottom of page 2012-08-15 15:07:56 -07:00
behavior-keyboard-nav.js Better explain 'h' keyboard shortcut in Differential 2012-11-06 11:50:31 -08:00
behavior-populate.js Disable Differential 1up views in all cases for now 2013-01-17 15:04:44 -08:00
behavior-show-all-comments.js Go to correct position after revealing comments 2012-02-26 13:13:51 -08:00
behavior-show-field-details.js Further improve unit/lint rendering 2012-05-01 10:15:56 -07:00
behavior-show-more.js Fix whitespace and unchanged file shields 2013-01-11 15:27:42 -08:00
behavior-toggle-files.js Don't jump when I open a link on background 2012-08-23 00:13:04 -07:00
behavior-user-select.js Enable selecting text in Differential shield and gap 2012-09-20 15:20:47 -07:00
DifferentialInlineCommentEditor.js Make control + enter submit forms if a textarea is focused 2013-01-28 14:11:32 -08:00