Bugzilla – Attachment 77183 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.89 KB, created by
Jonathan Druart
on 2018-07-23 15:34:28 UTC
(
hide
)
Description:
Bug 21041: "Merge patrons" button remains disabled with "Select all" option
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-07-23 15:34:28 UTC
Size:
1.89 KB
patch
obsolete
>From ee2ff960eaf72896ecfe20aa73bc50d8b46a6094 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 fb62cb9132..71c6363e00 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.11.0
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