Prevent form submit when any combobox-dropdown is open (fixes #1236)

This commit is contained in:
Bernd Bestel
2020-12-31 13:45:14 +01:00
parent 1e27f6c127
commit 1459f8c441
26 changed files with 150 additions and 0 deletions

View File

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