Compare commits

...

4 Commits

3 changed files with 19 additions and 1 deletions
+14
View File
@@ -3572,8 +3572,13 @@ function StudentZeugnisDokumentArchivieren()
break;
}
// Speichern zum Anzeigen des Archivierungsfortschritts
var labelalt = document.getElementById('student-zeugnis-button-archive').label;
document.getElementById('student-zeugnis-button-archive').label='Loading...';
var amountArchived = 0;
document.getElementById('student-zeugnis-archive-progress-row').hidden=false;
var prestudentIdArray = getMultipleTreeCellText(tree, 'student-treecol-prestudent_id');
document.getElementById('student-zeugnis-archive-progress').value="0/"+prestudentIdArray.length;
//Dokument fuer alle markierten Studenten archivieren
for (var t=0; t<numRanges; t++)
@@ -3607,12 +3612,21 @@ function StudentZeugnisDokumentArchivieren()
var response = req.execute();
if(response!='')
errormsg = errormsg + response;
else
{
// Fortschritt der Archivierung anzeigen
document.getElementById('student-zeugnis-archive-progress').value
=++amountArchived+"/"+prestudentIdArray.length+" (PreStudentInnenID: "+prestudent_id+")";
}
}
}
if(errormsg!='')
alert(errormsg);
// Fortschrittsfelder zurücksetzen
document.getElementById('student-zeugnis-button-archive').label=labelalt;
document.getElementById('student-zeugnis-archive-progress-row').hidden=true;
StudentAkteTreeDatasource.Refresh(false);
}
@@ -144,6 +144,10 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</menulist>
<button id="student-zeugnis-button-archive" label="Archivieren" disabled="false" oncommand="StudentZeugnisDokumentArchivieren()"/>
</row>
<row id="student-zeugnis-archive-progress-row" hidden="true">
<label value="Archiviert: "/>
<label id="student-zeugnis-archive-progress" class="text" value="0/0"/>
</row>
</rows>
</grid>
</groupbox>
+1 -1
View File
@@ -610,7 +610,7 @@ class dokument_export
}
}
}
public function setXMLTag_archivierbar()
{
$archivierbar = $this->xml_data->createElement("archivierbar", "true");