mirror of
https://github.com/grocy/grocy.git
synced 2026-03-30 17:49:26 +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');
|
||||
});
|
||||
|
||||
$('#qu_id').change(function(event)
|
||||
{
|
||||
Grocy.FrontendHelpers.ValidateForm('recipe-pos-form');
|
||||
});
|
||||
|
||||
$('#recipe-pos-form input').keydown(function(event)
|
||||
{
|
||||
if (event.keyCode === 13) //Enter
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user