Confirmations #562

Merged
uberwald merged 8 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2022-10-05 19:58:42 +02:00
Showing only changes of commit 4443548b0e - Show all commits

View File

@ -1,3 +1,4 @@
import { Grammar } from "./grammar.js";
import { ReglesOptionelles } from "./regles-optionelles.js";
export class RdDConfirm {
@ -43,8 +44,8 @@ export class RdDConfirm {
static _createButtonActionSave(options) {
return {
"actionSave": {
icon: '<i class="far fa-save"></i>',
label: options.buttonLabel + "<br>(Ne plus demander)",
icon: '<i class="fas fa-user-check"></i>',
label: "Toujours "+ options.buttonLabel.toLowerCase(),
callback: () => {
ReglesOptionelles.set(options.settingConfirmer, false);
options.onAction();