Suppression bouton default
Pour éviter qu'un dialog ouvert depuis le tchat se valide tout seul aux ouvertures suivantes
This commit is contained in:
parent
468982b07b
commit
8b6abcc8bb
@ -43,8 +43,7 @@ export class DialogChronologie extends Dialog {
|
||||
content: html,
|
||||
buttons: {
|
||||
ajout: { label: "Ajouter", callback: it => this.ajouter() },
|
||||
},
|
||||
default: "ajout"
|
||||
}
|
||||
};
|
||||
super(conf, options);
|
||||
}
|
||||
|
@ -31,8 +31,7 @@ export class DialogStress extends Dialog {
|
||||
content: html,
|
||||
buttons: {
|
||||
stress: { label: "Stress !", callback: it => { this.onStress(); } }
|
||||
},
|
||||
default: "stress"
|
||||
}
|
||||
};
|
||||
super(conf, options);
|
||||
this.dialogData = dialogData;
|
||||
|
Loading…
Reference in New Issue
Block a user