[Koha-bugs] [Bug 14011] Triggering slip print with enter key collides with 'barcode submitted' message

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 20 15:15:34 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14011

--- Comment #7 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Marc Véron from comment #4)
> Hi Jonathan,
> 
> Add following alerts after line 66 in circulation.tt:
> 
> $(document).ready(function() {
>     $('#mainform').on('submit',function() {
> alert(barcode);
> alert(barcode.value);
>         $('#barcode').on('keypress',function(event) {
>             $('#barcodeSubmittedModal').modal();
>             event.preventDefault(); }
>         );
>     });
> (...)

It's seem that barcode and $("#barcode") is the same, I was not aware of that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list