v10 #576
@ -3202,8 +3202,7 @@ export class RdDActor extends Actor {
|
|||||||
isRapide: isRapide
|
isRapide: isRapide
|
||||||
}
|
}
|
||||||
|
|
||||||
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrFormData);
|
this.currentTMR = await RdDTMRDialog.create(this, tmrFormData);
|
||||||
this.currentTMR = await RdDTMRDialog.create(html, this, tmrFormData);
|
|
||||||
this.currentTMR.render(true);
|
this.currentTMR.render(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,8 @@ import { RdDCalendrier } from "./rdd-calendrier.js";
|
|||||||
|
|
||||||
export class RdDTMRDialog extends Dialog {
|
export class RdDTMRDialog extends Dialog {
|
||||||
|
|
||||||
static async create(html, actor, tmrData) {
|
static async create(actor, tmrData) {
|
||||||
|
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', tmrData);
|
||||||
|
|
||||||
if (tmrData.mode != 'visu') {
|
if (tmrData.mode != 'visu') {
|
||||||
// Notification au MJ
|
// Notification au MJ
|
||||||
|
Loading…
Reference in New Issue
Block a user