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:
@@ -95,7 +95,10 @@ $("#show_in_sidebar_menu").on("click", function()
|
||||
}
|
||||
});
|
||||
|
||||
$('#name').focus();
|
||||
setTimeout(function()
|
||||
{
|
||||
$('#name').focus();
|
||||
}, 250);
|
||||
Grocy.FrontendHelpers.ValidateForm('userentity-form');
|
||||
|
||||
// Click twice to trigger on-click but not change the actual checked state
|
||||
|
Reference in New Issue
Block a user