[Koha-bugs] [Bug 15911] Use noEnterSubmit CSS class instead of prevent_submit.js

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 22 15:43:57 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15911

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 85539
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85539&action=edit
Bug 15911: Use noEnterSubmit CSS class instead of prevent_submit.js

This patch removes the use of a separate js file, prevent_submit.js, in
favor of using a CSS class to trigger the same functionality in
staff-global.js.

To test, apply the patch and test the following pages to confirm that
pressing "Enter" when the cursor is in any field in the main form does
not submit the form.

 - In Acquisitions, add to a basket from a new (empty) record
 - In Acquisitions, receive an order line
 - In Serials, locate a subscription and open the "Edit serials" page
   from the "Serial collection" page.

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


More information about the Koha-bugs mailing list