forgejo/web_src/js
Giteabot 581261efb1
Fix/Improve processWindowErrorEvent (#29407) (#29480)
Backport #29407 by @silverwind

- `e.error` can be undefined in some cases which would raise an error
inside this error handler, fixed that.
- The displayed message mentions looking into the console, but in my
case of error from `ResizeObserver` there was nothing there, so add this
logging. I think this logging was once there but got lost during
refactoring.

Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 9abba8c11a2eddfa8da25946fdd43be8d0c53689)
2024-03-10 18:09:59 +07:00
..
components Modernize merge button (#28140) (#28786) 2024-01-16 14:40:18 +00:00
features Fix counter display number incorrectly displayed on the page (#29448) (#29478) 2024-03-10 18:09:32 +07:00
markup Strip trailing newline in markdown code copy (#29019) (#29022) 2024-02-13 14:17:07 +01:00
modules Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-13 14:18:07 +01:00
render Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
standalone [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00
test Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-31 14:18:25 +01:00
utils Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) (#29089) 2024-02-13 14:18:07 +01:00
vendor Vendor jquery.are-you-sure with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Fix URL calculation in clone input box (#29470) (#29473) 2024-03-10 18:08:36 +07:00
bootstrap.js Fix/Improve processWindowErrorEvent (#29407) (#29480) 2024-03-10 18:09:59 +07:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) (#28881) 2024-01-31 14:18:25 +01:00
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) (#27661) 2023-10-17 14:46:35 +00:00
jquery.js
svg.js Replace ajax with fetch, improve image diff (#27267) (#27583) 2023-10-11 16:12:31 +02:00
svg.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00
utils.js enforce maxlength in frontend (#29389) (#29396) 2024-03-06 12:20:42 +08:00
utils.test.js Use vitest globals (#27102) (#27311) 2023-09-27 16:10:08 +02:00