mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 10:14:39 +00:00
Prevent form submit when any combobox-dropdown is open (fixes #1236)
This commit is contained in:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user