Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit 82187a818a - Show all commits

View File

@ -611,7 +611,9 @@ function setupDate(onchange = null) {
datestr.addEventListener("click", () => {
if (!input.disabled) {
try {
input.showPicker();
} catch {}
}
});
@ -936,7 +938,7 @@ function hasModuleImpl(assiduite) {
* TODO : Rendre asynchrone
*/
function editAssiduite(assiduite_id, etat, assi) {
if (assi.length != 1 || !assi[0].hasOwnProperty('assiduite_id')){
if (assi.length != 1 || !assi[0].hasOwnProperty("assiduite_id")) {
const html = `
<h3>Aucune assiduité n'a être éditée</h3>
`;