@@ -, +, @@ pages of results - If necessary, add enough patron club templates and patron clubs that there are more than 10 of each. - Click to the second page of club templates and try to delete a template. It should work correctly. - Click to the second page of clubs and try to delete a club. It should work correctly. - Add one or more patrons to a club (from the checkout or patron details page). - Click to the second page of clubs and try the "Search to hold" menu item. It should redirect you to the search page. - After entering a search, the results page should include "Place hold for " links with each result. --- koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt @@ -160,21 +160,21 @@ ] } )); - $(".delete_club").on("click", function(e){ + $("body").on("click", ".delete_club", function(e){ e.preventDefault(); var club_id = $(this).data("id"); var club_name = $(this).data("name"); ConfirmDeleteClub( club_id, club_name ); }); - $(".delete_template").on("click", function(e){ + $("body").on("click", ".delete_template", function(e){ e.preventDefault(); var template_id = $(this).data("id"); var template_name = $(this).data("name"); ConfirmDeleteTemplate( template_id, template_name ); }); - $(".club_hold_search").on("click", function(e){ + $("body").on("click", ".club_hold_search", function(e){ e.preventDefault; var club_id = $(this).data("id"); SearchToHold( club_id ); --