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

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 190352
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=190352&action=edit
Bug 41408: Added e.preventDefault() and e.stopPropagation() to edit

Prevent inline editing in POS for the cost and quantity fields from submitting
the form on 'Enter'.

Test plan:
1. Ensure the POS page is accessible (Set UsePointOfSale, add a Cash
   Register and some Debit types for sale)
2. Navigate to the Point of Sale page (pos/pay.pl)
3. Add an item to the "This sale" table
4. Click on the "Cost" cell to edit the price inline
5. Change the value and press Enter
6. Expected: The cell value should update without submitting the form
7. Try editing the "Quantity" field as well (same fix applies)
8. Complete a normal transaction to ensure form submission still works with the
submit button

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to