Bugzilla – Attachment 28435 Details for
Bug 11292
barcode scanner clicking 'save'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11292 - barcode scanner clicking 'save'
Bug-11292---barcode-scanner-clicking-save.patch (text/plain), 1.30 KB, created by
Kyle M Hall (khall)
on 2014-05-22 12:38:14 UTC
(
hide
)
Description:
Bug 11292 - barcode scanner clicking 'save'
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-05-22 12:38:14 UTC
Size:
1.30 KB
patch
obsolete
>From 1a94b15a8e697b9e70e8743a707e82945e52b67c Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 22 May 2014 08:35:16 -0400 >Subject: [PATCH] Bug 11292 - barcode scanner clicking 'save' > >When cataloging a bib record if you scan an ISBN barcode in the barcode >scanner clicks the 'save' button before the cataloging is done. This did >not happen in 3.10, but is happening again in 3.12. > >Test Plan: >1) Open the marc editor >2) Focus on a field, hit the enter key >3) Note the record tries to save >4) Focus on an indicator, hit the enter key >5) Note the record tries to save >6) Apply this patch >7) Repeat steps 2 and 4, note the record no longer > tries to save upon carriage return >--- > koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >index 6b49579..62c8b51 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >@@ -481,3 +481,9 @@ function CheckMandatorySubfields(p){ > }); > return total; > } >+ >+ $(document).ready(function() { >+ $("body").on("keypress", ".input_marceditor, .indicator", function(e){ >+ return checkEnter(e); >+ }); >+}); >-- >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 11292
:
28435
|
28518
|
28863