From e32a1d25f6469915552af26fdc119dc5b4e9ce51 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Fri, 31 Mar 2023 00:51:05 +0200 Subject: [PATCH] Ne pas fermer l'horloge sur escape MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Surcharge de la mĂ©thode close pour empĂȘcher la fermeture --- module/time/rdd-calendrier.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/time/rdd-calendrier.js b/module/time/rdd-calendrier.js index 62769c7a..8b6d653b 100644 --- a/module/time/rdd-calendrier.js +++ b/module/time/rdd-calendrier.js @@ -110,6 +110,8 @@ export class RdDCalendrier extends Application { this.render(true) } + async close() { } + async onUpdateSetting(setting, update, options, id) { if (setting.key == SYSTEM_RDD + '.' + WORLD_TIMESTAMP_SETTING) { this.timestamp = RdDTimestamp.getWorldTime();