1
0
forked from ScoDoc/ScoDoc

Correction groupes vers non affectés

This commit is contained in:
Sébastien Lehmann 2023-08-31 13:34:45 +02:00
parent 7369b67601
commit f89cbc8a90

View File

@ -468,7 +468,8 @@
if (to[0] != "n") { if (to[0] != "n") {
groupeSelected.closest(".grpPartitions").querySelector(`[value="${to}"]`).click(); groupeSelected.closest(".grpPartitions").querySelector(`[value="${to}"]`).click();
} else { } else {
groupeSelected.closest(".grpPartitions").querySelector(`[value="aucun"]`).click(); let toNumber = to.split("-")[1];
groupeSelected.closest(".grpPartitions").querySelector(`[data-idpartition="${toNumber}"] [value="aucun"]`).click();
} }
}) })