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

@@ -2,6 +2,11 @@
{
e.preventDefault();
if ($(".combobox-menu-visible").length)
{
return;
}
var jsonData = $('#task-form').serializeJSON();
jsonData.assigned_to_user_id = jsonData.user_id;
delete jsonData.user_id;