Allow editing embedded documents (used for spells here) in the item's sheet itself.
This commit is contained in:
parent
516f7ac826
commit
7381a2a7fe
6 changed files with 56 additions and 7 deletions
|
|
@ -24,6 +24,8 @@ export class PlayerSheet extends GenericActorSheet {
|
|||
.on(`change`, this.actor.genericEmbeddedUpdate.bind(this.actor));
|
||||
html.find(`[data-embedded-delete]`)
|
||||
.on(`click`, this.actor.genericEmbeddedDelete.bind(this.actor));
|
||||
html.find(`[data-embedded-edit]`)
|
||||
.on(`click`, this.actor.openEmbeddedSheet.bind(this.actor));
|
||||
};
|
||||
|
||||
async getData() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue