/trunk/widget/modules/photo/squelettes/js/WidgetPhotoContact.js |
---|
73,7 → 73,7 |
typeEnvoi = $( '#fc_type_envoi' ).val(), |
// l'envoi aux non inscrits passe par le service intermédiaire du cel |
// qui va récupérer le courriel associé à l'image indiquée |
urlMessage = 'http://api.tela-botanica.org/service:cel:celMessage/image/' + destinataireId, |
urlMessage = 'https://api.tela-botanica.org/service:cel:celMessage/image/' + destinataireId, |
erreurMsg = ''; |
$.each( $( '#form-contact' ).serializeArray(), function ( index, champ ) { |
/trunk/widget/modules/photo/squelettes/js/WidgetPhotoPopup.js |
---|
604,7 → 604,8 |
map.markers = []; |
L.tileLayer( |
'https://osm.tela-botanica.org/tuiles/osmfr/{z}/{x}/{y}.png', |
// 'https://osm.tela-botanica.org/tuiles/osmfr/{z}/{x}/{y}.png', |
'https://a.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', |
{ |
attribution: 'Data © <a href="http://osm.org/copyright">OpenStreetMap</a>', |
maxZoom: 18 |
781,7 → 782,21 |
var xhttp = new XMLHttpRequest(); |
xhttp.onreadystatechange = function() { |
if (this.readyState == 4 && this.status == 200) { |
location.reload(); |
//SI l'envoie est réussi on met à jour l'affiichage |
// var xhttp2 = new XMLHttpRequest(); |
// xhttp2.onreadystatechange = function() { |
// if (this.readyState == 4 && this.status == 200) { |
// lthis.votes = lthis.getVotes(lthis.protocole) |
// |
// console.log('vote envoyé') |
// } |
// }; |
// |
// xhttp2.open("GET", url+"?action=update_pf_vote&imageVote=" + lthis.idImage, false); |
// xhttp2.setRequestHeader("Content-Type", "application/json"); |
// xhttp2.send(jsonData); |
// location.reload(); |
} |
}; |
/trunk/widget/modules/photo/squelettes/popup.tpl.html |
---|
174,7 → 174,7 |
</li> |
</ul> |
<a id="signaler-erreur-id" class="btn btn-sm btn-warning signaler-erreur-obs hidden" |
<a id="signaler-erreur-id" class="btn btn-sm btn-warning signaler-erreur-obs" |
title="Signaler une mauvaise identification ou en proposer une autre via l'outil identiplante" target="_blank" href="https://www.tela-botanica.org/appli:identiplante"><i class="fas fa-exclamation-triangle"></i> Signaler une erreur d'identification</a> |
<h2>Téléchargement</h2> |