Assiduites : fix bug module tableau assi edition

This commit is contained in:
Iziram 2023-09-18 18:08:02 +02:00
parent 6d9d625b2e
commit 4bf7b0dd78

View File

@ -227,7 +227,7 @@
assiEdit.querySelector('#etat').value = etat.toLowerCase();
assiEdit.querySelector('#desc').value = desc != null ? desc : "";
updateSelect(module, '#moduleimpl_select', "2022-09-04")
updateSelect(module, '#moduleimpl_select', data.date_debut.split('T')[0])
assiEdit.querySelector('#module').replaceWith(document.querySelector('#moduleimpl_select').cloneNode(true));
openPromptModal("Modification de l'assiduité", assiEdit, () => {
const prompt = document.querySelector('.assi-edit');