[PR #2540] [MERGED] Ctrl + Enter to submit forms #16451

Closed
opened 2025-11-02 12:10:57 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2540
Author: @jonasfranz
Created: 9/18/2017
Status: Merged
Merged: 9/22/2017
Merged by: @lunny

Base: masterHead: ctrl-enter-to-submit


📝 Commits (10+)

📊 Changes

2 files changed (+10 additions, -1 deletions)

View changed files

📝 public/js/index.js (+9 -0)
📝 templates/repo/issue/comment_tab.tmpl (+1 -1)

📄 Description

This adds the functionality of submiting forms when Ctrl + Enter is pressed inside a textarea.

Fixes #2526


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2540 **Author:** [@jonasfranz](https://github.com/jonasfranz) **Created:** 9/18/2017 **Status:** ✅ Merged **Merged:** 9/22/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `ctrl-enter-to-submit` --- ### 📝 Commits (10+) - [`09f817c`](https://github.com/go-gitea/gitea/commit/09f817c2c9b6ec00b5d3d9f17a94c222a6e4517a) Hotfix for "Add time manually" (https://github.com/go-gitea/gitea/pull/2211#issuecomment-328780125) - [`b3fd467`](https://github.com/go-gitea/gitea/commit/b3fd46726fb1421263a5c5c38e1aec117a7efaac) Merge branch 'master' of https://github.com/go-gitea/gitea - [`af85943`](https://github.com/go-gitea/gitea/commit/af8594364c1e422370fa2ea9c4b39385a09b43ff) Merge branch 'master' of https://github.com/go-gitea/gitea - [`6c9abba`](https://github.com/go-gitea/gitea/commit/6c9abbad003334b578103de6f6d6bcb13499294b) Merge branch 'master' of https://github.com/go-gitea/gitea - [`f3454d7`](https://github.com/go-gitea/gitea/commit/f3454d76875f271d2cdad1755cf77fa4a953731e) Submit forms if Ctrl+Enter is pressed inside a textarea - [`e7edb4c`](https://github.com/go-gitea/gitea/commit/e7edb4c37f201b8117b2e6e73384dbd84dd400ac) Adding separate class for Ctrl+Enter-Submit - [`704f4b8`](https://github.com/go-gitea/gitea/commit/704f4b8c26572c4439e4021c9351ea06ff9eadba) Merge branch 'master' into ctrl-enter-to-submit - [`273acc1`](https://github.com/go-gitea/gitea/commit/273acc1eb431c1e941f69b1183f7a92745a7f9fb) Merge branch 'master' into ctrl-enter-to-submit - [`b4c8843`](https://github.com/go-gitea/gitea/commit/b4c88437eeaa2ec54afa91988fa196f7f17048ba) Merge branch 'master' into ctrl-enter-to-submit - [`7391927`](https://github.com/go-gitea/gitea/commit/73919273fb34055d4998349183f4ffdc0d4ecdd5) Changing .ctrlenter to .js-quick-submit ### 📊 Changes **2 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `public/js/index.js` (+9 -0) 📝 `templates/repo/issue/comment_tab.tmpl` (+1 -1) </details> ### 📄 Description This adds the functionality of submiting forms when Ctrl + Enter is pressed inside a textarea. Fixes #2526 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:10:57 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16451