Correct initialize timepicker method use

This commit is contained in:
Alex Tselegidis 2023-02-07 07:14:35 +01:00
parent 0e0194c927
commit 153ed1174b
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ App.Components.WorkingPlanExceptionsModal = (function () {
// Make all cells in current row editable. // Make all cells in current row editable.
let $tr = $(this).closest('tr'); let $tr = $(this).closest('tr');
$tr.children().trigger('edit'); $tr.children().trigger('edit');
initializeTimepicker( App.Utils.UI.initializeTimepicker(
$tr.find('.working-plan-exceptions-break-start input, .working-plan-exceptions-break-end input') $tr.find('.working-plan-exceptions-break-start input, .working-plan-exceptions-break-end input')
); );
$(this).closest('tr').find('.working-plan-exceptions-break-start').focus(); $(this).closest('tr').find('.working-plan-exceptions-break-start').focus();