#122 Gestion d'acturs liés à une fiche de perso

This commit is contained in:
2021-01-11 16:29:41 +01:00
parent e54de9f080
commit d02b5ac88c
8 changed files with 234 additions and 64 deletions

View File

@ -74,12 +74,10 @@ export class RdDActorVehiculeSheet extends ActorSheet {
const item = this.actor.getOwnedItem(li.data("itemId"));
item.sheet.render(true);
});
// Delete Inventory Item
html.find('.item-delete').click(ev => {
const li = $(ev.currentTarget).parents(".item");
this.actor.deleteOwnedItem(li.data("itemId"));
li.slideUp(200, () => this.render(false));
RdDUtility.confirmerSuppression(this, li);
});
// Display info about queue