Bugzilla – Attachment 77176 Details for
Bug 21041
"Merge patrons" button remains disabled with "Select all" option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21041: "Merge patrons" button remains disabled with "Select all" option
Bug-21041-Merge-patrons-button-remains-disabled-wi.patch (text/plain), 1.81 KB, created by
Pierre-Luc Lapointe
on 2018-07-20 18:26:53 UTC
(
hide
)
Description:
Bug 21041: "Merge patrons" button remains disabled with "Select all" option
Filename:
MIME Type:
Creator:
Pierre-Luc Lapointe
Created:
2018-07-20 18:26:53 UTC
Size:
1.81 KB
patch
obsolete
>From fc42dd02dc1f3f4dd266e5f05e915cfd7100ab61 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 16 Jul 2018 17:24:04 +0000 >Subject: [PATCH] Bug 21041: "Merge patrons" button remains disabled with > "Select all" option > >This patch modifies the JavaScript functions for the select all/clear >all links so that each action triggers the "change" event, required to >enable or disabled the "merge selected patrons" button. > >To test, apply the patch and perform a patron search which will return >multiple results. > > - Test the "select all" and "clear all" links, and confirm that the > "Merge selected patrons" button is enabled and disabled. > - Test that checking and unchecking multiple checkboxes still works > correctly to enable and disable the button. > >Signed-off-by: Pierre-Luc Lapointe <pierreluc.lapointe@inLibro.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >index fb62cb9..71c6363 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -342,11 +342,11 @@ > }); > $("#select_all").on("click",function(e){ > e.preventDefault(); >- $(".selection").prop("checked", true); >+ $(".selection").prop("checked", true).change(); > }); > $("#clear_all").on("click",function(e){ > e.preventDefault(); >- $(".selection").prop("checked", false); >+ $(".selection").prop("checked", false).change(); > }); > $("#clear_search").on("click",function(e){ > e.preventDefault(); >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21041
:
77019
|
77176
|
77183