mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
fix chatmessage to render the template in constructor. Update namespaces.
This commit is contained in:
parent
4de3e94fd7
commit
cc6c9a11bc
10 changed files with 117 additions and 76 deletions
|
|
@ -5,9 +5,12 @@ export default class SelectDialog extends Dialog {
|
|||
this.data = {
|
||||
title: data.title,
|
||||
buttons: data.buttons,
|
||||
content: renderTemplate('systems/daggerheart/templates/dialog/item-select.hbs', {
|
||||
items: data.choices
|
||||
})
|
||||
content: foundry.applications.handlebars.renderTemplate(
|
||||
'systems/daggerheart/templates/dialog/item-select.hbs',
|
||||
{
|
||||
items: data.choices
|
||||
}
|
||||
)
|
||||
};
|
||||
|
||||
this.actor = data.actor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue