mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 13:22:19 -06:00
[16.0][FIX]document_url: fix Not working properly when "web_responsive" is installed
This commit is contained in:
committed by
Franco Leyes
parent
65d45a277b
commit
8d176c6fda
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user