mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add missing files
This commit is contained in:
parent
8d17f5f79e
commit
2aa7e92987
2 changed files with 37 additions and 0 deletions
19
dashboard-ui/scripts/livetvrecording.js
Normal file
19
dashboard-ui/scripts/livetvrecording.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
function deleteRecording(page, id) {
|
||||
|
||||
Dashboard.confirm("Are you sure you wish to delete this recording?", "Confirm Recording Deletion", function (result) {
|
||||
|
||||
if (result) {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.deleteLiveTvRecording(id).done(function () {
|
||||
|
||||
Dashboard.alert('Recording deleted');
|
||||
|
||||
reload(page);
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue