Bugzilla – Attachment 113538 Details for
Bug 26988
Defer loading the hold pickup locations until the dropdown is selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26988: (follow-up) Change event to focus
Bug-26988-follow-up-Change-event-to-focus.patch (text/plain), 1.14 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-11-11 19:16:39 UTC
(
hide
)
Description:
Bug 26988: (follow-up) Change event to focus
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-11-11 19:16:39 UTC
Size:
1.14 KB
patch
obsolete
>From 10f4f486ae1b9809fd18ab64aed488b1bca091b6 Mon Sep 17 00:00:00 2001 >From: Agustin Moyano <agustinmoyano@theke.io> >Date: Wed, 11 Nov 2020 12:22:20 -0300 >Subject: [PATCH] Bug 26988: (follow-up) Change event to focus > >Click event on select element if Firefox does not work as expected, so >this patch changes the event to focus for it to work seamlessly in both >browsers. > >https://bugs.koha-community.org/show_bug.cgi?id=26899 >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index cdf5b9912a2..66dd265a14e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -302,7 +302,7 @@ $(document).ready(function() { > }); > }); > >- $(".pickup_location_dropdown").on( "click",function(){ >+ $(".pickup_location_dropdown").on( "focus",function(){ > var this_dropdown = $(this); > if(this_dropdown.data('loaded')===1){ return true}; > var hold_id = $(this).data('hold_id'); >-- >2.29.2
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 26988
:
113395
|
113418
|
113426
|
113427
|
113428
|
113456
|
113457
|
113458
|
113459
|
113460
|
113502
|
113533
|
113534
|
113535
|
113536
|
113537
| 113538 |
113590
|
113601
|
113669