More initial form field focus optimizations

This commit is contained in:
Bernd Bestel
2025-01-12 17:57:50 +01:00
parent 7d6b76effb
commit 632162c1be
24 changed files with 111 additions and 29 deletions

View File

@@ -146,8 +146,11 @@ $('#delete-current-instruction-manual-button').on('click', function(e)
ResizeResponsiveEmbeds();
Grocy.Components.UserfieldsForm.Load();
$('#name').focus();
Grocy.FrontendHelpers.ValidateForm('equipment-form');
setTimeout(function()
{
$('#name').focus();
}, 500);
$("#instruction-manual").on("change", function(e)
{