[16.0][FIX]document_url: fix Not working properly when "web_responsive" is installed

This commit is contained in:
Demchuk Mykola
2024-02-13 23:41:42 +02:00
committed by Franco Leyes
parent 65d45a277b
commit 8d176c6fda
2 changed files with 12 additions and 12 deletions

View File

@@ -29,6 +29,18 @@ registerPatch({
},
});
registerPatch({
name: "Chatter",
recordMethods: {
/**
* Handles click on the attach button.
*/
async onClickButtonAddAttachments() {
await this.onClickButtonToggleAttachments();
},
},
});
patch(AttachmentCard.prototype, "document_url/static/src/js/url.js", {
/**
* Return the url of the attachment. Temporary attachments, a.k.a. uploading