From cdd130b243dba615530d4874f24151c7ab3d2b05 Mon Sep 17 00:00:00 2001 From: Nils Asmussen Date: Sat, 30 Jul 2016 11:20:30 +0200 Subject: [PATCH] Let the user know that deleting an album deletes subalbums, too. --- src/scripts/album.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/album.js b/src/scripts/album.js index d7cdc0d..e946b03 100644 --- a/src/scripts/album.js +++ b/src/scripts/album.js @@ -279,14 +279,14 @@ album.delete = function(albumIDs) { // Fallback for album without a title if (albumTitle==='') albumTitle = 'Untitled' - msg = lychee.html`

Are you sure you want to delete the album '$${ albumTitle }' and all of the photos it contains? This action can't be undone!

` + msg = lychee.html`

Are you sure you want to delete the album '$${ albumTitle }' and all of the photos and subalbums it contains? This action can't be undone!

` } else { action.title = 'Delete Albums and Photos' cancel.title = 'Keep Albums' - msg = lychee.html`

Are you sure you want to delete all $${ albumIDs.length } selected albums and all of the photos they contain? This action can't be undone!

` + msg = lychee.html`

Are you sure you want to delete all $${ albumIDs.length } selected albums and all of the photos and subalbums they contain? This action can't be undone!

` }