Fix de régressions, stabilisation #575

Merged
uberwald merged 8 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-11-17 10:34:58 +01:00
2 changed files with 11 additions and 10 deletions
Showing only changes of commit 8d2e7fd0c8 - Show all commits

View File

@ -35,7 +35,7 @@ export class DialogChronologie extends Dialog {
const options = {
classes: ["DialogChronologie"],
width: 500,
height: 350,
height: 'fit-content',
'z-index': 99999
};
const conf = {

View File

@ -8,18 +8,19 @@ export class RdDCalendrierEditeur extends Dialog {
/* -------------------------------------------- */
constructor(html, calendrier, calendrierData) {
let myButtons = {
saveButton: { label: "Enregistrer", callback: html => this.fillData() }
let dialogConf = {
content: html,
title: "Editeur de date/heure",
buttons: {
save: { label: "Enregistrer", callback: html => this.fillData() }
},
default: "save"
};
// Common conf
let dialogConf = { content: html, title: "Editeur de date/heure", buttons: myButtons, default: "saveButton" };
let dialogOptions = { classes: ["rdddialog"], width: 400, height: 300, 'z-index': 99999 }
let dialogOptions = { classes: ["rdddialog"], width: 400, height: 'fit-content', 'z-index': 99999 }
super(dialogConf, dialogOptions)
this.calendrier = calendrier;
this.calendrierData = calendrierData; //duplicate(calendrierData);
this.calendrierData = calendrierData;
}
/* -------------------------------------------- */