diff options
author | Kemal Zebari <60799661+kemzeb@users.noreply.github.com> | 2025-06-07 01:25:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-07 11:25:08 +0300 |
commit | 47d69b7749689a7a7570ac20bdfd30d336daf7c1 (patch) | |
tree | fba63aaa9718d5f919d0c43ae65d34586ad59a06 /web_src | |
parent | b38f2d31fdcd1fc5facda86be33d3f830503f538 (diff) | |
download | gitea-main.tar.gz gitea-main.zip |
Resolves #34618.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/js/features/comp/LabelEdit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/comp/LabelEdit.ts b/web_src/js/features/comp/LabelEdit.ts index 55351cd900..a5bb750cdb 100644 --- a/web_src/js/features/comp/LabelEdit.ts +++ b/web_src/js/features/comp/LabelEdit.ts @@ -70,7 +70,7 @@ export function initCompLabelEdit(pageSelector: string) { form.reportValidity(); return false; } - form.submit(); + form.dispatchEvent(new Event('submit', {bubbles: true})); }, }).modal('show'); }; |