diff --git a/module/rdd-tmr-dialog.js b/module/rdd-tmr-dialog.js index 415f8574..37561dbb 100644 --- a/module/rdd-tmr-dialog.js +++ b/module/rdd-tmr-dialog.js @@ -83,6 +83,7 @@ export class RdDTMRDialog extends Dialog { } async restoreTMRAfterAction() { this.subdialog = undefined + await this.maximize(); this.bringToTop(); } diff --git a/module/rdd-tmr-rencontre-dialog.js b/module/rdd-tmr-rencontre-dialog.js index 97c4dc2d..495d0b10 100644 --- a/module/rdd-tmr-rencontre-dialog.js +++ b/module/rdd-tmr-rencontre-dialog.js @@ -46,7 +46,7 @@ export class RdDTMRRencontreDialog extends Dialog { } else { ui.notifications.info("Vous devez résoudre la rencontre."); - this.actor.tmrApp.forceTMRContinueAction(); + return this.actor.tmrApp.forceTMRContinueAction(); } } else { diff --git a/templates/dialog-tmr.html b/templates/dialog-tmr.html index 3c170609..6ca5ed09 100644 --- a/templates/dialog-tmr.html +++ b/templates/dialog-tmr.html @@ -1,4 +1,5 @@
+
@@ -52,6 +53,5 @@
-