http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13415
--- Comment #5 from Owen Leonard <[email protected]> --- - [% 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 %] This change means that all circulation transactions must wait until document.ready() fires. Is this what we want? + $('#mainform').bind('submit',function() { + $('#barcode').on('keypress',function(event) { Is there a reason to use bind() on #mainform instead of on()? "As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document." https://api.jquery.com/bind/ -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
