array wahnsinn

This commit is contained in:
Holger Trampe 2021-10-23 12:26:57 +02:00
parent 93ca2894dd
commit 760f33dbed
1 changed files with 5 additions and 1 deletions

View File

@ -241,7 +241,7 @@
var ncfiledata = [];
//Anlegen der Standarddateien
function rebuildingStandards(id){
var ncfiledata = [];
ncfiledata = [];
$("#cloud_process_standards").show();
ncfiledata[0] = ['standardid', id];
console.log("LOADING NC FILES");
@ -265,9 +265,11 @@
standardcounter += 1;
if(standardcounter < standards.length){
console.log("STANDARD " + id + " OK");
ncfiledata = [];
rebuildingStandards(standards[standardcounter]);
}
else{
ncfiledata = [];
console.log("STANDARD " + id + " OK");
$("#migfinished").show();
}
@ -276,9 +278,11 @@
standardcounter += 1;
console.log("FEHLER BEI STANDARD " + data['status'] + " ID " + id);
if(standardcounter < standards.length){
ncfiledata = [];
rebuildingStandards(standards[standardcounter]);
}
else{
ncfiledata = [];
console.log("FEHLER BEI STANDARD " + data['status'] + " ID " + id);
$("#migfinished").show();
}