From 5ef28edcb53c1122e8d6f5a6ad181edf3e363431 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 --- .../prog/en/modules/circ/circulation.tt | 11 ++++++----- 1 files 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.7.2.5