mirror of
https://github.com/grocy/grocy.git
synced 2026-04-10 06:26:16 +02:00
Validate form after changing the QU on the recipe ingredient edit page (fixes #907)
This commit is contained in:
parent
95ca6f6354
commit
a569048a3a
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user