149,7 → 149,6 |
$('#nom').val(infos.nom); |
$('#courriel_confirmation').val(courriel); |
$('#prenom, #nom, #courriel_confirmation').attr('disabled', 'disabled'); |
$('#structure').focus(); |
|
$('#dialogue-courriel-introuvable').hide(); |
} |
781,7 → 780,6 |
if ($('#formation').val() === 'alignement') { |
ok = (value != '' && /^[0-9]+$/.test(value) && value > 1); |
} |
console.log(ok); |
return ok; |
}, |
"Veuillez indiquer le nombre d'arbres d'alignement."); |
1120,7 → 1118,9 |
var totalObsATransmettre = 0; |
function transmettreObs() { |
var observations = $('#liste-obs').data(); |
console.log(observations); |
if (DEBUG) { |
console.log(observations); |
} |
if (observations == undefined || jQuery.isEmptyObject(observations)) { |
afficherPanneau('#dialogue-zero-obs'); |
} else { |