demarches-normaliennes/app/assets/javascripts/dossiers_list_link.js

8 lines
187 B
JavaScript
Raw Normal View History

2017-03-30 17:00:35 +02:00
$(document).on('turbolinks:load', link_init);
function link_init() {
$('#dossiers-list tr').on('click', function () {
$(location).attr('href', $(this).data('dossier_url'))
});
}