demarches-normaliennes/app/assets/javascripts/old_design/admin.js

12 lines
288 B
JavaScript
Raw Normal View History

2018-10-02 16:59:30 +02:00
/* globals $ */
2020-04-30 15:42:29 +02:00
$(document).on('click', '.delete', function () {
$(this).hide();
2020-04-30 15:42:29 +02:00
$(this).closest('td').find('.confirm').show();
});
2020-04-30 15:42:29 +02:00
$(document).on('click', '.cancel', function () {
$(this).closest('td').find('.delete').show();
$(this).closest('td').find('.confirm').hide();
});