demarches-normaliennes/app/assets/javascripts/dossiers_list_link.js
2017-04-03 15:43:41 +02:00

7 lines
187 B
JavaScript

$(document).on('turbolinks:load', link_init);
function link_init() {
$('#dossiers_list tr').on('click', function () {
$(location).attr('href', $(this).data('dossier_url'))
});
}