From b33524c0154953b5e320aadbb4b2e1dfe0dc0af6 Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 25 Nov 2022 11:10:18 +0100 Subject: [PATCH] (cp f4f5a7a) fixes #1808 use the option selected by the user to delete photos (or not) --- admin/themes/default/js/albums.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/themes/default/js/albums.js b/admin/themes/default/js/albums.js index 391774145..f7f2491cc 100644 --- a/admin/themes/default/js/albums.js +++ b/admin/themes/default/js/albums.js @@ -514,7 +514,7 @@ function openDeleteAlbumPopIn(cat_to_delete) { type: "POST", data: { category_id: cat_to_delete, - photo_deletion_mode: $("input [name=photo_deletion_mode]:checked").val(), + photo_deletion_mode: $("input[name=photo_deletion_mode]:checked").val(), pwg_token: pwg_token, }, success: function (raw_data) {