[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
Tue Mar 5 02:17:45 CET 2019


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

Hayley Mapley <hayleymapley at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85539|0                           |1
        is obsolete|                            |

--- Comment #2 from Hayley Mapley <hayleymapley at catalyst.net.nz> ---
Created attachment 86046
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86046&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.

Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>

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


More information about the Koha-bugs mailing list