Bugzilla – Attachment 180975 Details for
Bug 39398
Improve style and layout of staff interface advanced search form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39398: (follow-up) Fix click handling of itype/ccode/loc checkboxes
Bug-39398-follow-up-Fix-click-handling-of-itypecco.patch (text/plain), 1.87 KB, created by
Owen Leonard
on 2025-04-15 15:52:09 UTC
(
hide
)
Description:
Bug 39398: (follow-up) Fix click handling of itype/ccode/loc checkboxes
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-15 15:52:09 UTC
Size:
1.87 KB
patch
obsolete
>From 8ce5d9167c82b65ca2eb63db11de59ca45004e39 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 15 Apr 2025 15:49:46 +0000 >Subject: [PATCH] Bug 39398: (follow-up) Fix click handling of itype/ccode/loc > checkboxes > >--- > .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index 2e51f30fa43..75b0a86cd27 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -388,9 +388,7 @@ > [% END %] > [% END %] > </div> >- <label for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]"> >- <span class="itypetext">[% itemtypeloo.description | html %]</span> >- </label> >+ <label class="itypetext" for="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]"> [% itemtypeloo.description | html %] </label> > </div> > [% END # /FOREACH itemtypeloo %] > </div> >@@ -629,6 +627,9 @@ > [% END %] > > $(".limit-grid > *").on("click", function(e){ >+ if ( e.target.matches("input") || e.target.matches("label") ) { >+ return; >+ } > const checkbox = $(this).find("input"); > if( checkbox.prop("checked") ){ > checkbox.prop("checked", false ); >-- >2.39.5
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 39398
:
179556
|
179557
|
179558
|
179615
|
179833
| 180975