diff --git a/cis/private/lehre/benotungstool/verwaltung.php b/cis/private/lehre/benotungstool/verwaltung.php index 245cfa931..50328408b 100644 --- a/cis/private/lehre/benotungstool/verwaltung.php +++ b/cis/private/lehre/benotungstool/verwaltung.php @@ -58,6 +58,35 @@ $time = microtime_float(); { return confirm('Wollen Sie die markierten Einträge wirklich löschen? Alle bereits eingetragenen Kreuzerl gehen dabei verloren!!'); } + + //Aus- und Einblenden der Listen + __js_page_array = new Array(); + + function js_toggle_container(conid) + { + if (document.getElementById) + { + var block = "table-row"; + if (navigator.appName.indexOf('Microsoft') > -1) + block = 'block'; + var status = __js_page_array[conid]; + if (status == null) + status=document.getElementById(conid).style.display; //status = "none"; + if (status == "none") + { + document.getElementById(conid).style.display = block; + __js_page_array[conid] = "visible"; + } + else + { + document.getElementById(conid).style.display = 'none'; + __js_page_array[conid] = "none"; + } + return false; + } + else + return true; + } //--> @@ -579,7 +608,7 @@ else { $has_option_content=false; echo "