From 6cb5d757bea114152ff284d1aa7bfd867f407af5 Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Tue, 26 May 2020 10:36:05 +0200 Subject: [PATCH] =?UTF-8?q?BugFix=20Akte=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/student/studentoverlay.js.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/student/studentoverlay.js.php b/content/student/studentoverlay.js.php index f0e2715bf..2b511a0de 100644 --- a/content/student/studentoverlay.js.php +++ b/content/student/studentoverlay.js.php @@ -3058,6 +3058,11 @@ function StudentAkteDel() } studiengang_kz = document.getElementById('student-detail-menulist-studiengang_kz').value; + //Wenn es kein Student ist, Studiengangs_kz vom PreStudenten ermitteln + if (studiengang_kz == '') + { + studiengang_kz = document.getElementById('student-prestudent-menulist-studiengang_kz').value; + } //Abfrage ob wirklich geloescht werden soll if (confirm('Dokument wirklich entfernen?')) {