demarches-normaliennes/app/assets/javascripts/archive.js
2015-11-26 18:41:41 +01:00

14 lines
No EOL
362 B
JavaScript

$(document).on('page:load', buttons_archived);
$(document).ready(buttons_archived);
function buttons_archived(){
$("button#archive").on('click', function(){
$("button#archive").hide();
$("#confirm").show();
});
$("#confirm #cancel").on('click', function(){
$("button#archive").show();
$("#confirm").hide();
});
}