Commit b88b0203 by François C.

Merge branch '1491-screen-bug' into 'dev_cooperatic'

1491 - focus removed

See merge request !91
parents f39ffe43 7476eacc
Pipeline #1646 passed with stage
in 1 minute 33 seconds
...@@ -1601,10 +1601,6 @@ function display_products(params) { ...@@ -1601,10 +1601,6 @@ function display_products(params) {
} }
} }
}) })
.on('change', 'tbody td .product_qty_input', function () {
// Since data change is saved on blur, set focus on change in case of arrows pressed
$(this).focus();
})
.on('keypress', 'tbody td .product_qty_input', function(e) { .on('keypress', 'tbody td .product_qty_input', function(e) {
// Validate on Enter pressed // Validate on Enter pressed
if (e.which == 13) { if (e.which == 13) {
......
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