V1.5 fix drop on conteneur #525

Merged
vincent.vandeme merged 1 commits from v1.5-fix-drop-on-conteneur into v1.5 2022-01-01 14:38:21 +01:00

View File

@ -138,7 +138,7 @@ export class RdDActorSheet extends ActorSheet {
/* -------------------------------------------- */
async _onDropItem(event, dragData) {
const destItemId = RdDSheetUtility.getItemId(event);
const destItemId = $(event.target)?.closest('.item').attr('data-item-id');
const dropParams = RdDSheetUtility.prepareItemDropParameters(destItemId, this.actor.id, dragData, this.objetVersConteneur);
const callSuper = await this.actor.processDropItem(dropParams);
if (callSuper) {