diff --git a/formulaires/bigform.php b/formulaires/bigform.php index 6613661..5049156 100644 --- a/formulaires/bigform.php +++ b/formulaires/bigform.php @@ -10,7 +10,7 @@ function formulaires_bigform_charger_dist($objet, $id_objet, $mode = 'auto', $ar '_bigup_rechercher_fichiers' => true, 'id_objet' => $id_objet, 'objet' => $objet, - 'charger_js_titre' => $charger_js_titre === 'oui' ? true : false + 'charger_js_titre' => $charger_js_titre === 'oui' ? 'oui' : 'non' ]; $valeurs['objet_ok'] = ''; diff --git a/inclure/bigform.html b/inclure/bigform.html index 50b05d6..90dc1bf 100644 --- a/inclure/bigform.html +++ b/inclure/bigform.html @@ -26,7 +26,7 @@ {accept=#GET{accept}} )] -[(#ENV{charger_js_titre}|oui) +[(#ENV{charger_js_titre}|!={non}|oui) ]