Encore des fix OwnedItem / item.data
This commit is contained in:
parent
ba41886522
commit
86fb6111db
@ -407,19 +407,19 @@ export class RdDActorSheet extends ActorSheet {
|
||||
// Display info about queue
|
||||
html.find('.queuesouffle-label a').click((event) => {
|
||||
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);
|
||||
});
|
||||
// Info sort
|
||||
html.find('.sort-label a').click((event) => {
|
||||
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);
|
||||
});
|
||||
// Info sort
|
||||
html.find('.case-label a').click((event) => {
|
||||
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);
|
||||
});
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
<div class="form-group">
|
||||
<label class="alchimie-title" for="xp">Type</label>
|
||||
<select name="data.type" data-dtype="String">
|
||||
{{#select item.data.type}}
|
||||
{{#select data.type}}
|
||||
<option value="recreative">Récréative</option>
|
||||
<option value="soliste">Soliste</option>
|
||||
{{/select}}
|
||||
|
Loading…
Reference in New Issue
Block a user