Added confirm modal when deleting recording (#2056)

This commit is contained in:
Ahmad Farhat
2020-09-03 11:08:13 -04:00
committed by GitHub
parent 99c7262971
commit 5cbcc82e9b
7 changed files with 61 additions and 4 deletions

View File

@ -37,5 +37,12 @@ $(document).on('turbolinks:load', function(){
win.focus();
});
});
// Handle recording delete modal
$(".delete-rec").click(function() {
$("#delete-rec-confirm").parent().attr("action", $(this).data("path"))
})
}
});