Affichage de dialog en 2 temps

Sinon, la touche entrée est appliqué sur une commande et ferme
le dialogue
This commit is contained in:
Vincent Vandemeulebrouck
2022-11-13 21:57:18 +01:00
parent ccb6709f5b
commit bcd25dd0ed
2 changed files with 5 additions and 4 deletions

View File

@ -27,7 +27,8 @@ export class DialogChronologie extends Dialog {
dateReel: DialogChronologie.getCurrentDateTime()
};
const html = await renderTemplate("systems/foundryvtt-reve-de-dragon/templates/dialog-chronologie.html", dialogData);
new DialogChronologie(html).render(true);
const dialog = new DialogChronologie(html);
dialog.render(true);
}
constructor(html) {