diff --git a/public/viewjs/productform.js b/public/viewjs/productform.js index 75d05460..ca93c725 100644 --- a/public/viewjs/productform.js +++ b/public/viewjs/productform.js @@ -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