-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
Description
Description
Attempting to edit a comment and then save it results in a javascript error withn repo-issue-edit.js, if attachments are disabled.
To reproduce:
- disable support for attachments
(https://docs.gitea.com/administration/config-cheat-sheet#issue-and-pull-request-attachments-attachment - set enabled to false)
From the UI:
- create new issue
- add a comment
- edit that comment
- saving the edit will throw a javascript error in the saveAndRefresh method in repo-issue-edit.js, when attempting to iterate through dropzoneInst
This appears to be a new issue introduced in 1.22.
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Helm gitea chart
Database
PostgreSQL