Gestion des signes draconiques #455

Closed
vincent.vandeme wants to merge 233 commits from v1.4-signes-draconiques into master
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 86fb6111db - Show all commits

View File

@ -407,19 +407,19 @@ export class RdDActorSheet extends ActorSheet {
// Display info about queue // Display info about queue
html.find('.queuesouffle-label a').click((event) => { html.find('.queuesouffle-label a').click((event) => {
let myID = event.currentTarget.attributes['data-item-id'].value; let myID = event.currentTarget.attributes['data-item-id'].value;
const item = this.actor.getOwnedItem(myID); const item = this.actor.getEmbeddedDocuments('Item', myID);
item.sheet.render(true); item.sheet.render(true);
}); });
// Info sort // Info sort
html.find('.sort-label a').click((event) => { html.find('.sort-label a').click((event) => {
let myID = event.currentTarget.attributes['data-id'].value; let myID = event.currentTarget.attributes['data-id'].value;
const item = this.actor.getOwnedItem(myID); const item = this.actor.getEmbeddedDocuments('Item', myID);
item.sheet.render(true); item.sheet.render(true);
}); });
// Info sort // Info sort
html.find('.case-label a').click((event) => { html.find('.case-label a').click((event) => {
let myID = event.currentTarget.attributes['data-id'].value; let myID = event.currentTarget.attributes['data-id'].value;
const item = this.actor.getOwnedItem(myID); const item = this.actor.getEmbeddedDocuments('Item', myID);
item.sheet.render(true); item.sheet.render(true);
}); });

View File

@ -11,7 +11,7 @@
<div class="form-group"> <div class="form-group">
<label class="alchimie-title" for="xp">Type</label> <label class="alchimie-title" for="xp">Type</label>
<select name="data.type" data-dtype="String"> <select name="data.type" data-dtype="String">
{{#select item.data.type}} {{#select data.type}}
<option value="recreative">Récréative</option> <option value="recreative">Récréative</option>
<option value="soliste">Soliste</option> <option value="soliste">Soliste</option>
{{/select}} {{/select}}