mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user