fixes #2149 reset the create sub-albums button click event

After an ajax request we need to reset some button events
This commit is contained in:
Linty
2024-04-17 11:52:34 +02:00
parent 562fb6c0be
commit 0c53880707

View File

@@ -161,6 +161,12 @@ $(document).ready(() => {
openRenameAlbumPopIn($(this).find(".move-cat-title").attr("title"));
$(".RenameAlbumSubmit").data("cat_id", $(this).attr('data-id'));
});
$(".move-cat-add").off("click").on("click", function () {
openAddAlbumPopIn($(this).data("aid"));
$(".AddAlbumSubmit").data("a-parent", $(this).data("aid"));
});
closeRenameAlbumPopIn();
},
error: function(message) {