mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Fix product form was not validated when changing location (fixes #144)
This commit is contained in:
parent
eec3515b6d
commit
5c622b9512
|
|
@ -177,6 +177,11 @@ $('#product-form input').keyup(function(event)
|
|||
Grocy.FrontendHelpers.ValidateForm('product-form');
|
||||
});
|
||||
|
||||
$('#location_id').change(function(event)
|
||||
{
|
||||
Grocy.FrontendHelpers.ValidateForm('product-form');
|
||||
});
|
||||
|
||||
$('#product-form input').keydown(function(event)
|
||||
{
|
||||
if (event.keyCode === 13) //Enter
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user