From 5b781bdc7d3807b098d20c9fdb5f1dd9385b6630 Mon Sep 17 00:00:00 2001 From: pifou Date: Thu, 14 Jun 2007 23:10:50 +0000 Subject: [PATCH] =?utf8?q?MOD=20Le=20bouton=20r=C3=A9init=20ferme=20tous?= =?utf8?q?=20les=20d=C3=A9tails?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://euphorik.ch/pompage@21 02bbb61a-6d21-0410-aba0-cb053bdfd66a --- js/yopyop.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/js/yopyop.js b/js/yopyop.js index b1e09af..f9ad7f1 100644 --- a/js/yopyop.js +++ b/js/yopyop.js @@ -113,10 +113,16 @@ function doRecherche() } /** - * Initialise la recherche. + * Initialise la recherche et referme tous les détails des films. */ function viderRecherche() -{ +{ + var lignes = document.getElementById("liste").childNodes + for(i = 1; i < lignes.length; i += 2) + { + lignes[i].firstChild.firstChild.style.display = "none"; + } + document.getElementById("checkRechercheTitre").checked = true document.getElementById("checkRechercheGenres").checked = true document.getElementById("checkRechercheRealisateurs").checked = true -- 2.45.2