mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
Fixed modal dialogs / iframes initial input focus (fixes #1665)
This commit is contained in:
@@ -85,4 +85,7 @@ $('#location-form input').keydown(function(event)
|
||||
|
||||
Grocy.Components.UserfieldsForm.Load();
|
||||
Grocy.FrontendHelpers.ValidateForm('location-form');
|
||||
$('#name').focus();
|
||||
setTimeout(function()
|
||||
{
|
||||
$('#name').focus();
|
||||
}, 250);
|
||||
|
Reference in New Issue
Block a user