Commit 86e0f826 by Damien Moulard

ALC: select input content on focus

parent 8ea94e46
Pipeline #2136 passed with stage
in 1 minute 30 seconds
......@@ -1797,6 +1797,9 @@ function display_products(params) {
// Manage data on inputs blur
$('#products_table')
.on('focus', 'tbody td .product_qty_input', function () {
this.select();
})
.on('blur', 'tbody td .product_qty_input', function () {
process_new_product_qty(this);
})
......
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