diff --git a/api/js/etemplate/Et2Tree/Et2Tree.ts b/api/js/etemplate/Et2Tree/Et2Tree.ts
index c0e05676f6..3f09f9d8bb 100644
--- a/api/js/etemplate/Et2Tree/Et2Tree.ts
+++ b/api/js/etemplate/Et2Tree/Et2Tree.ts
@@ -848,7 +848,8 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
const typeMap = {
dragenter: EGW_AI_DRAG_ENTER,
- dragleave: EGW_AI_DRAG_OUT
+ dragleave: EGW_AI_DRAG_OUT,
+ drop: EGW_AI_DRAG_OUT,
}
this.widget_object.getObjectById(id).iface.triggerEvent(typeMap[event.type], event);
}
@@ -1068,6 +1069,7 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
}
@dragenter=${(event) => {this.handleDragEvent(event);}}
@dragleave=${(event) => {this.handleDragEvent(event);}}
+ @drop=${(event) => {this.handleDragEvent(event);}}
>