From 8de2992ffba8cc627757ecea1e002a55581113d2 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 27 Apr 2024 22:32:00 +0800 Subject: [PATCH 01/14] Make Ctrl+Enter work for issue/comment edit (#30720) Fix #30710 --- templates/repo/diff/box.tmpl | 4 ++-- templates/repo/issue/view_content.tmpl | 6 +++--- web_src/js/features/comp/QuickSubmit.js | 7 ++++++- web_src/js/features/repo-issue-edit.js | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 92a3163642..641de294fd 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -235,7 +235,7 @@ {{if and (not $.Repository.IsArchived) (not .DiffNotAvailable)}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 8316df2ee1..d40134ed08 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -146,7 +146,7 @@