mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02: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"));
|
openRenameAlbumPopIn($(this).find(".move-cat-title").attr("title"));
|
||||||
$(".RenameAlbumSubmit").data("cat_id", $(this).attr('data-id'));
|
$(".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();
|
closeRenameAlbumPopIn();
|
||||||
},
|
},
|
||||||
error: function(message) {
|
error: function(message) {
|
||||||
|
|||||||
Reference in New Issue
Block a user