From b5015299eeff4c553b7830e594f7fef3b0c2671d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 6 Jul 2021 16:41:23 +0200 Subject: [PATCH] add missing sprintf import --- api/js/etemplate/et2_widget_date.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_date.ts b/api/js/etemplate/et2_widget_date.ts index c2ed4f2e52..f175834490 100644 --- a/api/js/etemplate/et2_widget_date.ts +++ b/api/js/etemplate/et2_widget_date.ts @@ -28,7 +28,7 @@ import {et2_DOMWidget} from "./et2_core_DOMWidget"; import {et2_IDetachedDOM} from "./et2_core_interfaces"; import {egw} from "../jsapi/egw_global"; import {date} from "./lib/date.js"; -import {egwIsMobile} from "../egw_action/egw_action_common.js"; +import {egwIsMobile,sprintf} from "../egw_action/egw_action_common.js"; // all calls to jQueryUI.datetimepicker as jQuery.datepicker give errors which are currently suppressed with @ts-ignore // adding npm package @types/jquery.ui.datetimepicker did NOT help :(