mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Improved form validation handling (closes #1836)
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
if (!Grocy.FrontendHelpers.ValidateForm("quantityunit-form", true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var jsonData = $('#quantityunit-form').serializeJSON();
|
||||
Grocy.FrontendHelpers.BeginUiBusy("quantityunit-form");
|
||||
|
||||
|
Reference in New Issue
Block a user