#27 Gestion des rencontres

This commit is contained in:
2020-11-20 16:45:20 +01:00
parent 7ff428d1c2
commit 34acf9e00c
7 changed files with 44 additions and 26 deletions

View File

@ -25,7 +25,7 @@ export class RdDRollDialog extends Dialog {
// Common conf
let dialogConf = { content: html, title: "Test", buttons: myButtons, default: "rollButton" }
let dialogOptions = { classes: ["rdddialog"], width: 600, height: 400, 'z-index': 30 }
let dialogOptions = { classes: ["rdddialog"], width: 600, height: 400, 'z-index': 99999 }
// Select proper roll dialog template and stuff
if (mode == "competence") {
@ -39,7 +39,7 @@ export class RdDRollDialog extends Dialog {
dialogOptions.height = 350
} else if (mode == "sort") {
dialogConf.title = "Lancer un sort"
dialogConf.height = 470
dialogConf.height = 490
}
super(dialogConf, dialogOptions)
@ -57,7 +57,8 @@ export class RdDRollDialog extends Dialog {
/* -------------------------------------------- */
activateListeners(html) {
super.activateListeners(html);
this.bringToTop(); // Ensure top level
// Get the rollData stuff
var rollData = this.rollData;