mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 19:16:37 +00:00
More initial form field focus optimizations
This commit is contained in:
@@ -111,8 +111,11 @@ for (var i = 0; i < checkboxValues.length; i++)
|
||||
}
|
||||
|
||||
Grocy.Components.UserfieldsForm.Load();
|
||||
$('#name').focus();
|
||||
Grocy.FrontendHelpers.ValidateForm('chore-form');
|
||||
setTimeout(function()
|
||||
{
|
||||
$('#name').focus();
|
||||
}, 500);
|
||||
|
||||
if (Grocy.EditMode == "edit")
|
||||
{
|
||||
|
Reference in New Issue
Block a user