]> source.dussan.org Git - gitea.git/commit
Keep attachments on tasklist update (#16750) (#16757)
authorKN4CK3R <admin@oldschoolhack.me>
Sat, 21 Aug 2021 19:10:04 +0000 (21:10 +0200)
committerGitHub <noreply@github.com>
Sat, 21 Aug 2021 19:10:04 +0000 (20:10 +0100)
commit0840a508b4e7dbb3bbd7c2cb24efd1bd4d0b739e
tree5a492783acec45a82841b5a00ae3b49fcca5703b
parent5ceff8fda28ae3ad8ae2239e1644e0d2f191e21f
Keep attachments on tasklist update (#16750) (#16757)

* Send attachments too.

* Use tasklist flag.

* use action="ignoreAttachments" instead of "tasklist"

* Use boolean parameter.

* when the update request doesn't intend to update attachments (eg: change checkbox state), ignore attachment updates (#16762)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
routers/web/repo/issue.go
web_src/js/markup/tasklist.js