forked from ScoDoc/ScoDoc
Route id EDT
This commit is contained in:
parent
2ac442315c
commit
e11101b53b
@ -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 = "<h2>Une erreur s'est produite lors de la sauvegarde des données (5).</h2>";
|
||||
}
|
||||
});*/
|
||||
});
|
||||
|
||||
closeConfirm();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user