Improved form validation handling (closes #1836)

This commit is contained in:
Bernd Bestel
2022-03-26 10:34:00 +01:00
parent 6aae97de73
commit 81b54182de
33 changed files with 180 additions and 17 deletions

View File

@@ -28,6 +28,11 @@ $('#save-user-button').on('click', function(e)
{
e.preventDefault();
if (!Grocy.FrontendHelpers.ValidateForm("user-form", true))
{
return;
}
if ($(".combobox-menu-visible").length)
{
return;