mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
async
This commit is contained in:
@@ -123,7 +123,10 @@ if (isset($_REQUEST["submit"]) && ($_REQUEST["student_uid"] != '') && ((($note>0
|
||||
$lvgesamtnote->benotungsdatum = $jetzt;
|
||||
$lvgesamtnote->updateamum = $jetzt;
|
||||
$lvgesamtnote->updatevon = $user;
|
||||
$new = false;
|
||||
$new = false;
|
||||
if ($lvgesamtnote->freigabedatum)
|
||||
$response = "update_f";
|
||||
else
|
||||
$response = "update";
|
||||
}
|
||||
if (!$lvgesamtnote->save($new))
|
||||
|
||||
@@ -105,7 +105,7 @@ require_once('../../../../include/zeugnisnote.class.php');
|
||||
uid = stud_uid;
|
||||
var note = document.getElementById(uid).note.value;
|
||||
var resp = anfrage.responseText;
|
||||
if (resp == "neu" || resp == "update")
|
||||
if (resp == "neu" || resp == "update" || resp == "update_f")
|
||||
{
|
||||
|
||||
notentd = document.getElementById("note_"+uid);
|
||||
@@ -116,7 +116,7 @@ require_once('../../../../include/zeugnisnote.class.php');
|
||||
notenode = document.createTextNode(note);
|
||||
notentd.appendChild(notenode);
|
||||
notenstatus = document.getElementById("status_"+uid);
|
||||
if (resp == "update")
|
||||
if (resp == "update_f")
|
||||
notenstatus.innerHTML = "<img src='../../../../skin/images/changed.png'>";
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user