From 153ed1174baed0bfeb3b707d73fef2c40f5b2f4c Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 7 Feb 2023 07:14:35 +0100 Subject: [PATCH] Correct initialize timepicker method use --- assets/js/components/working_plan_exceptions_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/working_plan_exceptions_modal.js b/assets/js/components/working_plan_exceptions_modal.js index 5c1b4190..afebc996 100644 --- a/assets/js/components/working_plan_exceptions_modal.js +++ b/assets/js/components/working_plan_exceptions_modal.js @@ -317,7 +317,7 @@ App.Components.WorkingPlanExceptionsModal = (function () { // Make all cells in current row editable. let $tr = $(this).closest('tr'); $tr.children().trigger('edit'); - initializeTimepicker( + App.Utils.UI.initializeTimepicker( $tr.find('.working-plan-exceptions-break-start input, .working-plan-exceptions-break-end input') ); $(this).closest('tr').find('.working-plan-exceptions-break-start').focus();