From a6113d6575266bc0381621374200fe546d53aa31 Mon Sep 17 00:00:00 2001
From: Laurent Laffont <llaffont@afi-sa.fr>
Date: Tue, 10 Jan 2017 15:50:25 +0100
Subject: [PATCH] hotline #53372 calender: article title display mode option is
 relevant only on list display mode

---
 VERSIONS_HOTLINE/53372                                    | 1 +
 .../modules/admin/views/scripts/accueil/calendrier.phtml  | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 VERSIONS_HOTLINE/53372

diff --git a/VERSIONS_HOTLINE/53372 b/VERSIONS_HOTLINE/53372
new file mode 100644
index 00000000000..13ea233cd48
--- /dev/null
+++ b/VERSIONS_HOTLINE/53372
@@ -0,0 +1 @@
+ - ticket #53372 : Boite calendrier : Affichage nom de la bibliothèque KO (Réserve VA)
\ No newline at end of file
diff --git a/application/modules/admin/views/scripts/accueil/calendrier.phtml b/application/modules/admin/views/scripts/accueil/calendrier.phtml
index a6e6fb35e69..d082eb6db12 100644
--- a/application/modules/admin/views/scripts/accueil/calendrier.phtml
+++ b/application/modules/admin/views/scripts/accueil/calendrier.phtml
@@ -1,3 +1,9 @@
+<?php
+Class_ScriptLoader::getInstance()
+->addJQueryReady(
+  'formSelectToggleVisibilityForElement("select[name=\'mode-affichage\']", "tr#title_display_mode", ["simple"]);');
+?>
+
 <center>
   <h1>Propriétés du calendrier</h1><br>
   <div class="formTable">
@@ -95,7 +101,7 @@
             </td>
           </tr>
 
-          <tr>
+          <tr id="title_display_mode">
             <td class="droite">Mode d'affichage des titres</td>
             <td class="gauche">
               <?php
-- 
GitLab