From 2607cd509dcd53ecb35115cf9115a7f18a73001e Mon Sep 17 00:00:00 2001 From: Holger Trampe Date: Sat, 23 Oct 2021 19:03:22 +0200 Subject: [PATCH] ads --- adm/templates/adm/adm_import_flow.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/adm/templates/adm/adm_import_flow.html b/adm/templates/adm/adm_import_flow.html index 0d38cb4..815cd62 100644 --- a/adm/templates/adm/adm_import_flow.html +++ b/adm/templates/adm/adm_import_flow.html @@ -28,8 +28,8 @@ $(document).ready(function(){ // FIRST CALL GROUPS, When Groups finished User will call by Groups - createAgencyGroups(groupids[0]); - //addFiles(files[0]); + //createAgencyGroups(groupids[0]); + addFiles(files[0]); //DEV //rebuildingStandards(standards[0]); //addGroupFolder(); @@ -102,8 +102,8 @@ success: function(data){ if(data['status'] == true){ $("#cloud_process_main").html("Ordner und Standardordner erfolgreich angelegt. Starte mit Dateiimport..."); - if(fes[0] != undefined){ - //(files[0]); + if(files[0] != undefined){ + addFiles(files[0]); } else{ console.log("NO FILES FOUND"); @@ -134,8 +134,8 @@ }); } - filecount = 0; - function (fileid){ + filecounter = 0; + function addFiles(fileid){ $("#cloud_process_cloud").show(); $.ajax({ url: "{% url 'api:apiaddfile' %}",