From f7b97a5235d11997d71934bd42f27f2cda08b2ac Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Mon, 11 Apr 2022 11:28:36 +0200 Subject: [PATCH] relate to #1609 rename after move works now --- admin/themes/default/js/albums.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/themes/default/js/albums.js b/admin/themes/default/js/albums.js index 5e31981a5..b9b6054fd 100644 --- a/admin/themes/default/js/albums.js +++ b/admin/themes/default/js/albums.js @@ -630,6 +630,10 @@ function applyMove(event) { $(".move-cat-delete").on("click", function () { triggerDeleteAlbum($(this).data("id")); }); + $(".move-cat-title-container").on("click", function () { + openRenameAlbumPopIn($(this).find(".move-cat-title").attr("title")); + $(".RenameAlbumSubmit").data("cat_id", $(this).attr('data-id')); + }); }) .catch((message) => console.log('An error has occured : ' + message )); }