Suppression de sorts en réserve

This commit is contained in:
Vincent Vandemeulebrouck
2022-09-17 01:53:13 +02:00
parent 1251d04860
commit 2232224951
6 changed files with 68 additions and 29 deletions

View File

@ -197,7 +197,8 @@ export class RdDItemSheet extends ItemSheet {
});
html.find('.item-delete').click(async event => {
const li = RdDSheetUtility.getEventElement(event);
RdDUtility.confirmerSuppression(this, li);
const item = this.actor.getObjet(li.data("item-id"));
RdDUtility.confirmerSuppressionItem(this, item, li);
});
html.find('.item-vendre').click(async event => {
const item = RdDSheetUtility.getItem(event, this.actor);