You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
Giteabot fbf29f29b5
Modernize merge button (#28140) (#28786)
Backport #28140 by @earl-warren

- Make use of the `form-fetch-action` for the merge button, which will
automatically prevent the action from happening multiple times and show
a nice loading indicator as user feedback while the merge request is
being processed by the server.
- Adjust the merge PR code to JSON response as this is required for the
`form-fetch-action` functionality.
- Resolves https://codeberg.org/forgejo/forgejo/issues/774
- Likely resolves the cause of
https://codeberg.org/forgejo/forgejo/issues/1688#issuecomment-1313044

(cherry picked from commit 4ec64c19507caefff7ddaad722b1b5792b97cc5a)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
1 year ago
..
components Modernize merge button (#28140) (#28786) 1 year ago
features Fix incorrect URL for "Reference in New Issue" (#28716) (#28723) 1 year ago
markup Change katex limits (#27823) (#27868) 1 year ago
modules Polyfill SubmitEvent for PaleMoon (#28441) (#28478) 1 year ago
render Use vitest globals (#27102) (#27311) 1 year ago
standalone Add toasts to UI (#25449) 2 years ago
test Replace 'userxx' with 'orgxx' in all test files when the user type is org (#27052) 1 year ago
utils Polyfill SubmitEvent for PaleMoon (#28441) (#28478) 1 year ago
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 1 year ago
webcomponents Polyfill SubmitEvent for PaleMoon (#28441) (#28478) 1 year ago
bootstrap.js Remove joinPaths function (#26833) 1 year ago
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) 1 year ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Replace ajax with fetch, improve image diff (#27267) (#27583) 1 year ago
svg.test.js Use vitest globals (#27102) (#27311) 1 year ago
utils.js Replace ajax with fetch, improve image diff (#27267) (#27583) 1 year ago
utils.test.js Use vitest globals (#27102) (#27311) 1 year ago