diff options
author | Denise sur Lya <sekhmet@lya> | 2021-06-29 23:04:02 +0200 |
---|---|---|
committer | Denise sur Lya <sekhmet@lya> | 2021-06-29 23:04:02 +0200 |
commit | ca61f310d80e05ea43efc148787f214a567743f0 (patch) | |
tree | 0f8bda76932d6ed30bf274cd441fb070a684e868 /static/outilspage.js | |
parent | 639d9cecc866004800974bf4d6ffc1c1a3a59fc1 (diff) | |
download | oms-ca61f310d80e05ea43efc148787f214a567743f0.tar.gz oms-ca61f310d80e05ea43efc148787f214a567743f0.tar.zst oms-ca61f310d80e05ea43efc148787f214a567743f0.zip |
nouveauté : courbes multiples
Diffstat (limited to 'static/outilspage.js')
-rw-r--r-- | static/outilspage.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/static/outilspage.js b/static/outilspage.js index 9491495..9b3f51d 100644 --- a/static/outilspage.js +++ b/static/outilspage.js | |||
@@ -141,3 +141,22 @@ function change_mode_dates(mode) | |||
141 | elem.innerHTML = "<span onclick=\"change_mode_dates('text')\" class=\"bouton\">Cliquez ici</span> pour saisir les dates comme du texte." | 141 | elem.innerHTML = "<span onclick=\"change_mode_dates('text')\" class=\"bouton\">Cliquez ici</span> pour saisir les dates comme du texte." |
142 | } | 142 | } |
143 | } | 143 | } |
144 | |||
145 | function revele_enfants() | ||
146 | { | ||
147 | // révèle tous les champs pour enfants additionnels | ||
148 | var listelt = document.getElementsByClassName("enfants_cache_def") ; | ||
149 | for(i=0; i<listelt.length; i++) { | ||
150 | listelt[i].style.display = "block" ; | ||
151 | } | ||
152 | // Enlève le bouton pour les afficher | ||
153 | var bouton = document.getElementById("reveleenfants") ; | ||
154 | bouton.style.display = "none" ; | ||
155 | } | ||
156 | |||
157 | function vide_champ(nom) | ||
158 | { | ||
159 | // vide le champ d'id proposé | ||
160 | var elt = document.getElementById(nom) ; | ||
161 | elt.value = "" ; | ||
162 | } | ||