From 2fd3fdffadde7bbfb6dba82d63c15c9d45467858 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 12 Dec 2014 06:53:33 -0500 Subject: [PATCH] Bug 13415 [QA Followup] - Change bind to on, revert barcode disable Signed-off-by: Katrin Fischer Tested according to test plan, passes tests and QA script. Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 04b9d619b9..6963c9028f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -60,10 +60,7 @@ function toggle_onsite_checkout(){ } $(document).ready(function() { - [% IF !NEEDSCONFIRMATION %] - $('#barcode').prop('disabled', false).focus(); - [% END %] - $('#mainform').bind('submit',function() { + $('#mainform').on('submit',function() { $('#barcode').on('keypress',function(event) { $('#barcodeSubmittedModal').modal(); event.preventDefault(); } @@ -539,7 +536,11 @@ No patron matched [% message %]
Enter item barcode:
- + [% IF NEEDSCONFIRMATION %] + + [% ELSE %] + + [% END %]
-- 2.39.5