diff --git a/app/templates/scolar/partition_editor.j2 b/app/templates/scolar/partition_editor.j2 index 67b25a1b5..dbd58d17e 100644 --- a/app/templates/scolar/partition_editor.j2 +++ b/app/templates/scolar/partition_editor.j2 @@ -810,16 +810,15 @@ } //Save - let url = ""; // A MODIFIER et décommenter ci-dessous - // Dispo en variables idGroupe et id_EDT - - /*fetch(url, { method: "POST" }) + let url = `/ScoDoc/{{formsemestre.departement.acronym}}/api/group/${idGroupe}/set_edt_id/${id_EDT}`; + + fetch(url, { method: "POST" }) .then(r => { return r.json() }) .then(r => { if (r.OK != true) { document.querySelector("main").innerHTML = "