0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-23 22:46:14 +01:00
gitea/web_src/js
cloudchamb3r c1023b97aa
[v1.22 backport] Fix null errors on conversation holder (#32258) (#32266) (#32282)
Backport #32266

fix #32258

Errors in the issue was due to unhandled null check. so i fixed it.

### Detailed description for Issue & Fix
To reproduce that issue, the comment must be deleted on Conversation
tab.
#### Before Delete
<img width="1032" alt="image"

src="https://github.com/user-attachments/assets/72df61ba-7db6-44c9-bebc-ca1178dd27f1">

#### After Delete (AS-IS)
<img width="1010" alt="image"

src="https://github.com/user-attachments/assets/36fa537e-4f8e-4535-8d02-e538c50f0dd8">

gitea already have remove logic for `timeline-item-group`, but because
of null ref exception the later logic that removes `timeline-item-group`
could be not be called correctly.
2024-10-17 13:34:39 +08:00
..
components Fix checkbox bug on private/archive filter (#32236) (#32240) 2024-10-11 21:13:09 +08:00
features [v1.22 backport] Fix null errors on conversation holder (#32258) (#32266) (#32282) 2024-10-17 13:34:39 +08:00
markup Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
modules Fix navbar + menu flashing on page load (#31281) (#31342) 2024-06-12 15:26:04 +00:00
render
standalone Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
utils Fix and clean up ConfirmModal (#31283) (#31291) 2024-06-07 15:51:54 +02:00
vendor
webcomponents Fix overflow menu flickering on mobile (#31484) (#31488) 2024-06-26 01:13:04 +08:00
bootstrap.js Check if reverse proxy is correctly configured (#30890) (#30935) 2024-05-10 12:34:04 +00:00
bootstrap.test.js
htmx.js
index.js Warn users when they try to use a non-root-url to sign in/up (#32272) (#32273) 2024-10-17 09:01:44 +08:00
jquery.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
svg.js Update JS any PY dependencies, remove workarounds (#30085) 2024-03-26 09:41:40 +00:00
svg.test.js
utils.js enforce maxlength in frontend (#29389) 2024-02-25 14:31:15 +00:00
utils.test.js
vitest.setup.js