Bugzilla – Attachment 34341 Details for
Bug 13415
Prevent librarians from scanning multiple items into a single barcode field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13415 [QA Followup] - Change bind to on, revert barcode disable
Bug-13415-QA-Followup---Change-bind-to-on-revert-b.patch (text/plain), 1.66 KB, created by
Kyle M Hall (khall)
on 2014-12-12 13:07:03 UTC
(
hide
)
Description:
Bug 13415 [QA Followup] - Change bind to on, revert barcode disable
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-12-12 13:07:03 UTC
Size:
1.66 KB
patch
obsolete
>From 5ef28edcb53c1122e8d6f5a6ad181edf3e363431 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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 <span class="ex">[% message %]</span> > > <div class="hint">Enter item barcode:</div> > >- <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> >+ [% IF NEEDSCONFIRMATION %] >+ <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> >+ [% ELSE %] >+ <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> >+ [% END %] > <button type="submit" class="btn">Check out</button> > > <div class="date-select"> >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13415
:
34202
|
34203
|
34235
|
34341
|
34380
|
34381