Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3978 → Rev 3979

/trunk/widget/modules/photo/squelettes/js/WidgetPhotoPopup.js
263,7 → 263,7
$( '#bloc-infos-img' ).html(
this.afficherLien( this.urlLienEflore, this.obs['nom_sel'] )+
' par '+
'<a class="lien_contact" href="' + lienContact + '" target="_blank" title="Afficher le profil">' + this.auteur + '</a> '+
'<a class="lien_contact" href="' + this.item['urlProfil'] + '" target="_blank" title="Afficher le profil">' + this.auteur + '</a> '+
' le ' + this.date + ' - ' + this.obs['localisation']
);
};
783,20 → 783,7
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
 
//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();
console.log('vote envoyé')
}
};