Commit 61ffcad7 by Damien Moulard

fix multiple click on qty inputs arrows

parent 1f07d3a4
Pipeline #1251 failed with stage
in 1 minute 18 seconds
......@@ -1315,8 +1315,8 @@ function display_products(params) {
$('#main_content_footer').show();
$('#do_inventory').show();
// On inputs change
$('#products_table').on('change', 'tbody td .product_qty_input', function () {
// Manage data on inputs blur
$('#products_table').on('blur', 'tbody td .product_qty_input', function () {
let val = ($(this).val() == '') ? 0 : $(this).val();
val = parseFloat(val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment