mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 02:34:44 +00:00
Improved form validation handling (closes #1836)
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
{
|
||||
e.preventDefault();
|
||||
|
||||
if (!Grocy.FrontendHelpers.ValidateForm("task-form", true))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ($(".combobox-menu-visible").length)
|
||||
{
|
||||
return;
|
||||
|
Reference in New Issue
Block a user