forked from ScoDoc/ScoDoc
Assiduites : fix #735
This commit is contained in:
parent
d1b5ebe7b4
commit
82187a818a
@ -611,7 +611,9 @@ function setupDate(onchange = null) {
|
||||
|
||||
datestr.addEventListener("click", () => {
|
||||
if (!input.disabled) {
|
||||
input.showPicker();
|
||||
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 pû être éditée</h3>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user