From fbcb5fa475d8afa1b8b8e7aefc749b8794a622a1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 13 Jun 2022 20:46:17 +0200 Subject: [PATCH] Bug 30578: Fix on-select for 2 occurrences Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc index 22c0de8616..f040b6ac11 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -77,11 +77,11 @@ $(document).ready(function(){ [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] if ( $("#findborrower").length ) { - patron_autocomplete($("#findborrower"), { 'on-select': 'link-to-circ' }); + patron_autocomplete($("#findborrower"), { 'link-to': 'circ' }); } [% END %] if ( $("#searchmember").length ) { - patron_autocomplete($("#searchmember"), { 'on-select': 'link-to-patron' }); + patron_autocomplete($("#searchmember"), { 'link-to': 'patron' }); } }); -- 2.39.5