Validate form after changing the QU on the recipe ingredient edit page (fixes #907)

This commit is contained in:
Bernd Bestel
2020-08-24 18:32:50 +02:00
parent 95ca6f6354
commit a569048a3a

View File

@@ -123,6 +123,11 @@ $('#recipe-pos-form input').keyup(function(event)
Grocy.FrontendHelpers.ValidateForm('recipe-pos-form');
});
$('#qu_id').change(function(event)
{
Grocy.FrontendHelpers.ValidateForm('recipe-pos-form');
});
$('#recipe-pos-form input').keydown(function(event)
{
if (event.keyCode === 13) //Enter