Bugzilla – Attachment 102008 Details for
Bug 25004
Search results place hold button not enabled when checking result checkboxes on opac-search.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25004: Fix selector for checkboxes on results page
Bug-25004-Fix-selector-for-checkboxes-on-results-p.patch (text/plain), 1.53 KB, created by
Nick Clemens
on 2020-03-27 15:32:43 UTC
(
hide
)
Description:
Bug 25004: Fix selector for checkboxes on results page
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-03-27 15:32:43 UTC
Size:
1.53 KB
patch
obsolete
>From 82efd3df22e81a20bba17898be6afa50cf716282 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 27 Mar 2020 15:28:36 +0000 >Subject: [PATCH] Bug 25004: Fix selector for checkboxes on results page > >To recreate: >0 - Make sure ability to place holds on OPAC is enabled (RequestOnOpac) >1 - Search on the opac to get multipel results >2 - Note place hold button is disabled >3 - Check a box next to a result >4 - Note place hold button not enabled >5 - Apply patch >6 - Do a new search >7 - Check a checkbox >8 - Note the 'PLace hold' button is enabled >9 - Sign off! Do a happy dance! Hugs >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index 66912e6a44..68b8c2b17f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -674,7 +674,7 @@ function tagAdded() { > > function enableCheckboxActions(){ > // Enable/disable controls if checkboxes are checked >- var checkedBoxes = $(".checkboxed input:checkbox:checked"); >+ var checkedBoxes = $("input.cb:checked"); > var controls = $("#selections-toolbar .links a, #selections-toolbar .links input, #selections-toolbar .links select, #selections-toolbar .links label, #selections-toolbar .links button"); > if ($(checkedBoxes).size()) { > $("#selections").html(_("With selected titles: ")); >-- >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 25004
:
102008
|
102145
|
102176
|
102212