This commit is contained in:
Janis Steiner
2024-11-28 14:22:55 +00:00
parent 69403d7741
commit 87b6dc7e83
2 changed files with 5 additions and 2 deletions

View File

@@ -69,7 +69,10 @@ function load_user()
mysqli_stmt_fetch($stmt);
if($id!=0 && $id!=$last_id)
{
echo("<option printer='$id' value='$id'>Printer $id</option>");
if($id==$_POST["printer"])
echo("<option printer='$id' value='$id' selected>Drucker $id</option>");
else
echo("<option printer='$id' value='$id'>Drucker $id</option>");
}
$last_id=$id;
$num_of_printers--;

View File

@@ -502,7 +502,7 @@ function update_cancel_modal(printer_id,rid){
<h5 class="modal-title">Druck abbrechen</h5>
</div>
<div class="modal-body">
Möchtest du den Druck wirklich abbrechen? Dies kann nicht rückgängig gemacht werden!
Möchtest du den Druck wirklich abbrechen?
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">nicht abbrechen</button>