From ee298893bdf1dfc317826de714ac0f3b215c2701 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 12 Dec 2014 06:53:33 -0500 Subject: [PATCH] [PASSED QA] 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. --- koha-tmpl/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 04b9d61..6963c90 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 %]
-- 1.9.1