mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Fixed modal dialogs / iframes initial input focus (fixes #1665)
This commit is contained in:
@@ -84,5 +84,8 @@ $('#shoppinglocation-form input').keydown(function(event)
|
||||
});
|
||||
|
||||
Grocy.Components.UserfieldsForm.Load();
|
||||
$('#name').focus();
|
||||
setTimeout(function()
|
||||
{
|
||||
$('#name').focus();
|
||||
}, 250);
|
||||
Grocy.FrontendHelpers.ValidateForm('shoppinglocation-form');
|
||||
|
Reference in New Issue
Block a user