[IMP] mail: remove useless 't-ref="dropzone"'
Task-2694206 Part-of: odoo/odoo#81801
This commit is contained in:
-2
@@ -4,8 +4,6 @@ const { useState, onMounted, onWillUnmount } = owl.hooks;
|
||||
|
||||
/**
|
||||
* This hook handle the visibility of the dropzone based on drag & drop events.
|
||||
* It needs a ref to a dropzone, so you need to specify a t-ref="dropzone" in
|
||||
* the template of your component.
|
||||
*
|
||||
* @returns {Object}
|
||||
*/
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
<DropZone
|
||||
className="'o_AttachmentBox_dropZone'"
|
||||
onDropzoneFilesDropped="_onDropZoneFilesDropped"
|
||||
t-ref="dropzone"
|
||||
/>
|
||||
</t>
|
||||
<t t-if="attachmentBoxView.chatter.attachmentList">
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
<DropZone
|
||||
className="'o_Composer_dropZone'"
|
||||
onDropzoneFilesDropped="_onDropZoneFilesDropped"
|
||||
t-ref="dropzone"
|
||||
/>
|
||||
</t>
|
||||
<FileUploader localId="composerView.fileUploaderView.localId"/>
|
||||
|
||||
Reference in New Issue
Block a user