This commit is contained in:
cgfhtw
2024-03-29 14:27:45 +01:00
parent 5d49516b77
commit 8ffc8a20d3
2 changed files with 23 additions and 1 deletions
+12
View File
@@ -5139,6 +5139,7 @@ function StudentPruefungNeu()
document.getElementById('student-pruefung-menulist-note').value='9';
document.getElementById('student-pruefung-textbox-datum').value='<?php echo date('d.m.Y');?>';
document.getElementById('student-pruefung-textbox-anmerkung').value='';
StudentPruefungTypChange();
}
// ****
@@ -5190,6 +5191,16 @@ function StudentPruefungLVAChange()
LEDropDown.selectedIndex=-1;
}
// ****
// * Wenn der Typ der Pruefung geaendert wird, dann wird ein Hinweistext angezeigt.
// ****
function StudentPruefungTypChange()
{
var typ = document.getElementById('student-pruefung-menulist-typ').value;
var hinweisid = document.getElementById('student-pruefung-textbox-datum-hinweis');
hinweisid.hidden = (typ != 'kommPruef');
}
// ****
// * Speichert die Pruefung
// ****
@@ -5424,6 +5435,7 @@ function StudentPruefungAuswahl()
document.getElementById('student-pruefung-checkbox-neu').checked=false;
document.getElementById('student-pruefung-textbox-pruefung_id').value=pruefung_id;
document.getElementById('student-pruefung-textbox-punkte').value=punkte;
StudentPruefungTypChange();
}
function StudentPruefungFilterStsem()
+11 -1
View File
@@ -203,7 +203,8 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Typ" control="student-pruefung-menulist-typ"/>
<menulist id="student-pruefung-menulist-typ" disabled="true"
datasources="<?php echo APP_ROOT; ?>rdf/pruefungstyp.rdf.php?abschluss=false" flex="1"
ref="http://www.technikum-wien.at/pruefungstyp/liste" >
ref="http://www.technikum-wien.at/pruefungstyp/liste"
oncommand="StudentPruefungTypChange()">
<template>
<menupopup>
<menuitem value="rdf:http://www.technikum-wien.at/pruefungstyp/rdf#pruefungstyp_kurzbz"
@@ -251,6 +252,15 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<spacer flex="1" />
</hbox>
</row>
<row id="student-pruefung-textbox-datum-hinweis" hidden="true">
<label></label>
<hbox>
<image height="17" width="17" class="alert-icon"/>
<description class="small-margin">
Bitte das Datum der Benotung eintragen und nicht das Datum der Prüfung.
</description>
</hbox>
</row>
<row>
<label value="Anmerkung" control="student-pruefung-textbox-anmerkung"/>
<textbox id="student-pruefung-textbox-anmerkung" disabled="true" maxlength="256"/>