mirror of
https://github.com/grocy/grocy.git
synced 2025-08-24 14:06:44 +00:00
Fixed modal dialogs / iframes initial input focus (fixes #1665)
This commit is contained in:
@@ -88,6 +88,9 @@ $('#task-form input').keydown(function(event)
|
||||
});
|
||||
|
||||
Grocy.Components.UserfieldsForm.Load();
|
||||
$('#name').focus();
|
||||
setTimeout(function()
|
||||
{
|
||||
$('#name').focus();
|
||||
}, 250);
|
||||
Grocy.Components.DateTimePicker.GetInputElement().trigger('input');
|
||||
Grocy.FrontendHelpers.ValidateForm('task-form');
|
||||
|
Reference in New Issue
Block a user