From 0347ad9b109b44be2cd69799ca9799f0908c3173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 7 Feb 2023 18:48:22 +0100 Subject: [PATCH] =?UTF-8?q?Stunden=20werden=20auf=20NULL=20gesetzt=20wenn?= =?UTF-8?q?=20eine=20Zeitsperre=20bearbeitet=20wird=20die=20keine=20Stunde?= =?UTF-8?q?n=20zul=C3=A4sst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cis/private/profile/zeitsperre_resturlaub.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cis/private/profile/zeitsperre_resturlaub.php b/cis/private/profile/zeitsperre_resturlaub.php index 36271fde2..46d342971 100644 --- a/cis/private/profile/zeitsperre_resturlaub.php +++ b/cis/private/profile/zeitsperre_resturlaub.php @@ -324,6 +324,10 @@ function showHideStudeDropDown() { document.getElementById('vonStd').style.visibility = 'hidden'; document.getElementById('bisStd').style.visibility = 'hidden'; + + // Stunde entfernen + document.getElementById('vonstunde').selectedIndex = 0; + document.getElementById('bisstunde').selectedIndex = 0; } else { @@ -884,7 +888,7 @@ $content_form.= ''.$p->t('global/von').'\n"; +$content_form.= " "; $content_form.= ''.$p->t('global/bis').' '; //dropdown fuer bisstunde $content_form.= $p->t('zeitsperre/stundeInklusive'); -$content_form.= " \n"; if($zeitsperre->bisstunde=='') $content_form.= "\n";