mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Issue 80 Chatmessage fix (#81)
* fix chatmessage to render the template in constructor. Update namespaces. * update all chat messages to render templates
This commit is contained in:
parent
c94051744a
commit
7c792f409f
14 changed files with 230 additions and 171 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