From 93920ec6f7790deece1694ceb6f7b327a489918f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 22 Oct 2019 11:51:54 +0200 Subject: [PATCH] Bug 23594: Fix [un]checkall links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Séverine QUEUNE --- koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 6c4935a..bcc182d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -467,7 +467,7 @@
[% IF ( suggestion.suggestions_loop ) %] -

Check all | Uncheck all

+

Check all | Uncheck all

@@ -815,11 +815,13 @@ "sPaginationType": "full" })); $(".checkall").click(function(e){ - $(this).parent(form).checkCheckboxes(); + e.preventDefault(); + $(this).parents('form').checkCheckboxes(); return false; }); $(".uncheckall").click(function(e){ - $(this).parent(form).unCheckCheckboxes(); + e.preventDefault(); + $(this).parents('form').unCheckCheckboxes(); return false; }); $(".other_reason").hide(); -- 2.1.4