More modal iframe dialog handling improvements

This commit is contained in:
Bernd Bestel
2025-01-11 15:41:04 +01:00
parent 2c0b1a7be0
commit a2c2049037
50 changed files with 60 additions and 60 deletions

View File

@@ -99,7 +99,7 @@ $('#chore_id').on('change', function(e)
setTimeout(function()
{
Grocy.Components.DateTimePicker.GetInputElement().focus();
}, 200);
}, 500);
Grocy.FrontendHelpers.ValidateForm('choretracking-form');
}
@@ -158,7 +158,7 @@ $(document).on("Grocy.BarcodeScanned", function(e, barcode, target)
$("#chore_id_text_input").focus();
$("#chore_id_text_input").blur();
$('#tracked_time').find('input').focus();
}, 200);
}, 500);
});
Grocy.Components.DateTimePicker.GetInputElement().on('keypress', function(e)