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