From d4e685b19c277e1e5a5708ac543652b30bdf9d80 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Sun, 26 Jul 2026 22:19:25 +0900 Subject: [PATCH] appview/pages/templates: use generic htmx trigger `from:` query Signed-off-by: Seongmin Lee --- appview/pages/templates/repo/issues/fragments/putIssue.html | 2 +- .../pages/templates/repo/pulls/fragments/pullComposeHost.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appview/pages/templates/repo/issues/fragments/putIssue.html b/appview/pages/templates/repo/issues/fragments/putIssue.html index 65411c78..fa5f4b38 100644 --- a/appview/pages/templates/repo/issues/fragments/putIssue.html +++ b/appview/pages/templates/repo/issues/fragments/putIssue.html @@ -6,7 +6,7 @@ {{ else }} hx-post="/{{ .RepoInfo.FullName }}/issues/new" {{ end }} - hx-trigger="submit, keydown[(ctrlKey || metaKey) && key=='Enter'] from:(#title,#body)" + hx-trigger="submit, keydown[(ctrlKey || metaKey) && key=='Enter'] from:find textarea" hx-swap="none" class="group">
diff --git a/appview/pages/templates/repo/pulls/fragments/pullComposeHost.html b/appview/pages/templates/repo/pulls/fragments/pullComposeHost.html index 96ee38c3..d9cd3347 100644 --- a/appview/pages/templates/repo/pulls/fragments/pullComposeHost.html +++ b/appview/pages/templates/repo/pulls/fragments/pullComposeHost.html @@ -14,7 +14,7 @@