14,13 → 14,15 |
|
function initialiserLignesCliquables() { |
|
$('.observations_individu').bind('click', function() { |
|
//$(this).children('td a').click(); |
window.alert($(this).children('td').attr('href')); |
//window.location = $(this).children('td a').attr('href'); |
|
return false; |
$(".observations_individu").each(function() { |
$(this).bind('click', function() { |
|
// pour le moment un clic sur la ligne envoie sur la page d'édition |
// TODO: faire une modification en ajax |
window.location = $(this).find("a.lien_modifier").attr('href'); |
|
return false; |
}); |
}); |
|
} |