2017-03-30 17:00:35 +02:00
|
|
|
$(document).on('turbolinks:load', buttons_archived);
|
2015-11-26 18:41:41 +01:00
|
|
|
|
|
|
|
function buttons_archived(){
|
|
|
|
$("button#archive").on('click', function(){
|
|
|
|
$("button#archive").hide();
|
|
|
|
$("#confirm").show();
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#confirm #cancel").on('click', function(){
|
|
|
|
$("button#archive").show();
|
|
|
|
$("#confirm").hide();
|
|
|
|
});
|
2017-03-30 17:00:35 +02:00
|
|
|
}
|