diff --git a/CHANGES.md b/CHANGES.md index e698931e..b6bd1bbf 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,13 @@ # Changelog +## version 10.2.07 +- Correction : + - Défaut de chargement de flatpickr dans le module formulaire qui passe en version 2.4 + ## version 10.2.06 - Corrections : - Anticipation de la dépréciation de l'option de cookie samesite=none. - - Warning : absence de fichier map dans le thème TinyMCE lightgray + - Warning : absence de fichier map dans le thème TinyMCE lightgray. ## version 10.2.05 - Correction : diff --git a/module/form/form.php b/module/form/form.php index 2784ebdf..19918a4d 100755 --- a/module/form/form.php +++ b/module/form/form.php @@ -32,7 +32,7 @@ class form extends common { public static $pagination; - const FORM_VERSION = '2.3'; + const FORM_VERSION = '2.4'; // Objets const TYPE_MAIL = 'mail'; @@ -382,7 +382,10 @@ class form extends common { $this->addOutput([ 'notification' => ($sent === true ? 'Formulaire soumis' : $sent), 'redirect' => $redirect ? helper::baseUrl() . $redirect : '', - 'state' => ($sent === true ? true : null) + 'state' => ($sent === true ? true : null), + 'vendor' => [ + 'flatpickr' + ], ]); } // Valeurs en sortie @@ -390,6 +393,9 @@ class form extends common { 'showBarEditButton' => true, 'showPageContent' => true, 'view' => 'index', + 'vendor' => [ + 'flatpickr' + ], ]); } }