forgejo/web_src/js/modules
Antonin Delpeuch 3763a88c67 fix: allow modals to be submitted multiple times (#11843)
Fixes #11842.

The `once: true` was likely added to prevent multiple concurrent
submissions of the same form. This could still be worth preventing,
but I suspect it would require wrapping the supplied `onApprove`
callback with the corresponding logic, implemented manually, as I
am not aware of any native API to prevent concurrent executions of
callbacks.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11843
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-committed-by: Antonin Delpeuch <antonin@delpeuch.eu>
2026-04-01 04:23:13 +02:00
..
fomantic Add form field id generation, remove duplicated ids (#30546) 2024-04-22 08:09:00 +02:00
dimmer.ts fix: modals on small viewport height (#11547) 2026-03-08 00:11:31 +01:00
dirauto.js [gitea] Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) 2024-02-10 10:53:43 +01:00
dropdown.ts feat(ui): arrow key navigation in dropdown (#10033) 2025-11-10 13:35:38 +01:00
fetch.js feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
fetch.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
fomantic.js feat: remove fomantic's tab module (#8587) 2025-07-21 22:33:17 +02:00
modal.ts fix: allow modals to be submitted multiple times (#11843) 2026-04-01 04:23:13 +02:00
sortable.js Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-30 07:17:31 +01:00
stores.js Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
tab.ts feat: remove fomantic's tab module (#8587) 2025-07-21 22:33:17 +02:00
tippy.js feat: move more modals to native dialogs (#9636) 2025-10-13 17:48:49 +02:00
toast.js Reimplement editor Tab handling with accessibility safeguards (#6813) 2025-05-25 19:17:03 +02:00
toast.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00