This commit is contained in:
Andreas Österreicher
2008-06-05 15:07:39 +00:00
parent 04d9a63b7a
commit f43a0785f2
@@ -35,6 +35,9 @@ require_once('../../../../include/legesamtnote.class.php');
require_once('../../../../include/lvgesamtnote.class.php');
require_once('../../../../include/zeugnisnote.class.php');
require_once('../../../../include/pruefung.class.php');
require_once('../../../../include/person.class.php');
require_once('../../../../include/benutzer.class.php');
require_once('../../../../include/mitarbeiter.class.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
@@ -115,9 +118,9 @@ function getTopOffset(){
}
function saveLVNote(uid){
note = document.getElementById(uid).note.value;
note_orig = document.getElementById(uid).note_orig.value;
if (note == note_orig && note != "")
note = document.getElementById(uid).note.value;
note_orig = document.getElementById(uid).note_orig.value;
if (note == note_orig && note != "")
alert("Note unverändert!");
else if ((note < 0) || (note > 5 && note != 8 && note != 7))
{
@@ -134,7 +137,7 @@ function getTopOffset(){
url += '&submit=1&student_uid='+uid+"&note="+note+"&"+ts;
anfrage.open("GET", url, true);
anfrage.onreadystatechange = updateSeite;
anfrage.send(null);
anfrage.send(null);
document.getElementById(uid).note_orig.value=note;
}
}