mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Validate form after changing the QU on the recipe ingredient edit page (fixes #907)
This commit is contained in:
@@ -123,6 +123,11 @@ $('#recipe-pos-form input').keyup(function(event)
|
|||||||
Grocy.FrontendHelpers.ValidateForm('recipe-pos-form');
|
Grocy.FrontendHelpers.ValidateForm('recipe-pos-form');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#qu_id').change(function(event)
|
||||||
|
{
|
||||||
|
Grocy.FrontendHelpers.ValidateForm('recipe-pos-form');
|
||||||
|
});
|
||||||
|
|
||||||
$('#recipe-pos-form input').keydown(function(event)
|
$('#recipe-pos-form input').keydown(function(event)
|
||||||
{
|
{
|
||||||
if (event.keyCode === 13) //Enter
|
if (event.keyCode === 13) //Enter
|
||||||
|
Reference in New Issue
Block a user