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:
parent
3b2ed4762e
commit
dc2613600c
2 changed files with 13 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue