mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Keep attachments on tasklist update (#16750)
* Send attachments too. * Use tasklist flag. * use action="ignoreAttachments" instead of "tasklist" * Use boolean parameter. Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
1 parent
3b2ed4762e
commit
dc2613600c
2 files changed
+13
-8
No files matched your search
@@ -46,9 +46,10 @@ export function initMarkupTasklist() {
|
||||
const {updateUrl, context} = editContentZone.dataset;
|
||||
|
||||
await $.post(updateUrl, {
|
||||
ignore_attachments: true,
|
||||
_csrf: window.config.csrf,
|
||||
content: newContent,
|
||||
context,
|
||||
context
|
||||
});
|
||||
|
||||
rawContent.textContent = newContent;
|
||||
|
||||
Reference in new issue
Block a user