mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
Fixed Pruefungsanmeldung
This commit is contained in:
@@ -370,14 +370,12 @@ function writePruefungsTable(e, data, anmeldung)
|
||||
{
|
||||
if(storno)
|
||||
{
|
||||
//button = "<p><span style='display: inline-block; width: 155px;'>Stornieren (bis "+frist+"): </span><input style='width: 90px;' type='button' value='"+termin+"' onclick='stornoAnmeldung(\""+anmeldung_id+"\");'></br>";
|
||||
button = "<p><a href='#' title='<?php echo $p->t('pruefung/stornierenMoeglichBis'); ?> "+frist+"'><input style='width: 140px;' type='button' value='"+termin+" "+time+"' onclick='stornoAnmeldung(\""+anmeldung_id+"\");'></a></p>";
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//button = "<p><span style='display: inline-block; width: 155px;'>Anmelden (bis "+frist+"): </span><input style='width: 90px;' type='button' value='"+termin+"' onclick='openDialog(\""+e.lehrveranstaltung[0].lehrveranstaltung_id+"\", \""+d.pruefungstermin_id+"\", \""+e.lehrveranstaltung[0].bezeichnung+"\", \""+d.von+"\", \""+d.bis+"\");'></p>";
|
||||
button = "<p><a href='#' title='<?php echo $p->t('pruefung/anmeldenMoeglichBis'); ?> "+frist+"';><input style='width: 140px; background-color: green;' type='button' value='"+termin+" "+time+"' onclick='openDialog(\""+e.lehrveranstaltung[0].lehrveranstaltung_id+"\", \""+d.pruefungstermin_id+"\", \""+e.lehrveranstaltung[0].bezeichnung+"\", \""+d.von+"\", \""+d.bis+"\");'></a></p>";
|
||||
button = "<p><a href='#' title='<?php echo $p->t('pruefung/anmeldenMoeglichBis'); ?> "+frist+"'><input style='width: 140px; background-color: green;' type='button' value='"+termin+" "+time+"' onclick='openDialog(\""+e.lehrveranstaltung[0].lehrveranstaltung_id+"\", \""+d.pruefungstermin_id+"\", \""+e.lehrveranstaltung[0].bezeichnung.replace("'", "'")+"\", \""+d.von+"\", \""+d.bis+"\");'></a></p>";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -133,6 +133,10 @@ $studiensemester->getAll();
|
||||
margin: 0;
|
||||
height: 24px;
|
||||
}
|
||||
.ui-dialog
|
||||
{
|
||||
z-index: 101;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
@@ -140,11 +144,11 @@ $studiensemester->getAll();
|
||||
<script>
|
||||
var count = 0;
|
||||
$(document).ajaxSend(function(event, xhr, options){
|
||||
count++;
|
||||
//count++;
|
||||
});
|
||||
|
||||
$(document).ajaxComplete(function(event, xhr, settings){
|
||||
count--;
|
||||
//count--;
|
||||
//Wenn alle AJAX-Request fertig sind
|
||||
if(count===0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user