mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Add missing form validation on presetting QU id stock (#704)
This commit is contained in:
parent
6b75decd4a
commit
a6dd794ce8
@ -431,5 +431,6 @@ $('#qu_id_purchase').blur(function(e)
|
||||
var QuIdPurchase = $('#qu_id_purchase');
|
||||
if (QuIdStock[0].selectedIndex === 0 && QuIdPurchase[0].selectedIndex !== 0) {
|
||||
QuIdStock[0].selectedIndex = QuIdPurchase[0].selectedIndex;
|
||||
Grocy.FrontendHelpers.ValidateForm('product-form');
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user