[Koha-bugs] [Bug 23252] Missing input_marceditor class in item editor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 29 16:08:17 CEST 2019


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

--- Comment #5 from Christophe Croullebois <christophe.croullebois at biblibre.com> ---
Created attachment 92497
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92497&action=edit
Bug 23252: Adds noEnterSubmit class in ajax context

In cataloging.js $(document).ready adds noEnterSubmit class.
This does not work in ajax context, it works with $(document).ajaxSuccess.

Test plan :
1)
1.1) Verify you have an item subfield linked to items.itemnotes, ie 952$z
1.2) Verify 952$z exists in ACQ framework
2)
2.1) Verify system preference "AcqCreateItem" is on "placing an order"
2.2) Go to an acquisition basket
2.3) Click "Add to basket" and "From a new (empty) record"
2.4) Go to "Item" block
2.5) Verify that $z has "noEnterSubmit" class
2.6) Verify that typing enter in $z does not submit the form
3)
3.1) Change system preference "AcqCreateItem" to "receiving an order"
3.2) Go to "Receive shipment"
3.3) Receive an order
3.4) Go to "Item" block
3.5) Verify that $z has "noEnterSubmit" class
3.6) Verify that typing enter in $z does not submit the form

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


More information about the Koha-bugs mailing list