From: Vincent Vanwaelscappel Date: Thu, 3 Jul 2025 11:53:36 +0000 (+0200) Subject: wait #7600 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=87d2056e00eb7d85bb5908628fe192688a8ec45d;p=fluidbook-toolbox.git wait #7600 @0:05 --- diff --git a/app/Models/ELearningMedia.php b/app/Models/ELearningMedia.php index b34b16127..636065d61 100644 --- a/app/Models/ELearningMedia.php +++ b/app/Models/ELearningMedia.php @@ -86,7 +86,7 @@ class ELearningMedia extends ToolboxModel $this->addField('', FormSeparator::class); $this->addField('file', Files::class, __('Media'), ['acceptedFiles' => static::MEDIA_TYPES]); $this->addField('', FormSeparator::class); - $this->addField('complete_button', Checkbox::class, __('Marquer terminer après un clic sur un bouton'), ['default' => false, 'when' => ['type' => 'pdf']]); + $this->addField('complete_button', Checkbox::class, __('Marquer terminer après un clic sur un bouton'), ['default' => true, 'when' => ['type' => 'pdf']]); $this->addField('complete_pct', Percent::class, __('Marquer terminé quand ce pourcentage est lu'), ['default' => 75, 'when' => ['complete_button' => 0, 'type' => ['logical_operator' => 'OR', 'values' => ['video', 'audio']]]]); }