add proper message for timelapse frame deletion

fix-non-showing-inputs
Moe Alam 2020-10-10 10:36:13 -07:00
parent ba40d5bdb1
commit 24141f0e48
2 changed files with 5 additions and 2 deletions

View File

@ -195,6 +195,7 @@
"Can Edit Monitor": "Can Edit Monitor",
"Can Delete Videos": "Can Delete Videos",
"Delete Video": "Delete Video",
"Delete Timelapse Frame": "Delete Timelapse Frame",
"Can View Videos and Events": "Can View Videos and Events",
"Can Delete Videos and Events": "Can Delete Videos and Events",
"Saved Filters": "Saved Filters",
@ -405,6 +406,7 @@
"Fix Video": "Fix Video",
"FixVideoMsg": "Do you want to fix this video? You cannot undo this action.",
"DeleteVideoMsg": "Do you want to delete this video? You cannot recover it.",
"DeleteThisMsg": "Do you want to delete this? You cannot recover it.",
"dropBoxSuccess": "Success! Files saved to your Dropbox.",
"API Key Deleted": "API Key Deleted",
"APIKeyDeletedText": "Key has been deleted. It will no longer work.",

View File

@ -139,6 +139,7 @@ $(document).ready(function(e){
pauseTimelapse()
frameIcons.empty()
setPlayBackFrame(null)
allowKeepChecking = false
}
var pauseTimelapse = function(){
canPlay = false
@ -185,8 +186,8 @@ $(document).ready(function(e){
var filename = el.attr('data-filename')
var frame = currentPlaylist[filename]
$.confirm.create({
title: `sdf`,
body: `sdf`,
title: lang['Delete Timelapse Frame'],
body: lang.DeleteThisMsg + `<br><br><img style="max-width:100%" src="${frame.href}">`,
clickOptions: {
class: 'btn-danger',
title: lang.Delete,