From d2b35bd700b760f5685fa9e674d2f50679f6a6e8 Mon Sep 17 00:00:00 2001 From: Agustin Moyano 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 --- 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 cdf5b9912a..66dd265a14 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.25.0