[wp-trac] [WordPress Trac] #41545: Allow cmd/ctrl-enter to submit comment forms
WordPress Trac
noreply at wordpress.org
Mon Feb 25 18:52:31 UTC 2019
#41545: Allow cmd/ctrl-enter to submit comment forms
-------------------------------------------------+-------------------------
Reporter: helen | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.2
Component: Comments | Version:
Severity: minor | Resolution:
Keywords: good-first-bug needs-testing has- | Focuses: javascript
patch needs-refresh |
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
In [attachment:"41545.4.diff"]:
* Refactor to add the event listener to comment-reply init, so its set on
a per form basis.
* Inline comment explaining why we use a `click()` action on the button
vs. calling `submit()` on the form
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41545#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list