mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Made some forms more convenient (input handling)
This commit is contained in:
@@ -84,6 +84,8 @@ $('#product_id').on('change', function(e)
|
||||
$('#new_amount').attr('not-equal', productDetails.stock_amount);
|
||||
$('#new_amount_qu_unit').text(productDetails.quantity_unit_stock.name);
|
||||
|
||||
$('#new_amount').focus();
|
||||
|
||||
Grocy.EmptyElementWhenMatches('#selected-product-last-purchased-timeago', 'NaN years ago');
|
||||
Grocy.EmptyElementWhenMatches('#selected-product-last-used-timeago', 'NaN years ago');
|
||||
},
|
||||
|
Reference in New Issue
Block a user