From 43f7a3b649c40f8a420f3339170af45513ecb45d Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 22 Apr 2022 11:01:31 -0600 Subject: [PATCH] Calendar: Fix calendar tab could not be closed Uncaught ReferenceError: egw_unregisterGlobalShortcut is not defined --- calendar/js/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/js/app.ts b/calendar/js/app.ts index b11e8e189c..5f158d24d1 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -43,7 +43,7 @@ import {et2_iframe} from "../../api/js/etemplate/et2_widget_iframe"; // @ts-ignore import {date} from "../../api/js/etemplate/lib/date.js"; import {sprintf} from "../../api/js/egw_action/egw_action_common.js"; -import {egw_registerGlobalShortcut} from "../../api/js/egw_action/egw_keymanager.js"; +import {egw_registerGlobalShortcut, egw_unregisterGlobalShortcut} from "../../api/js/egw_action/egw_keymanager.js"; import {egw, egw_getFramework} from "../../api/js/jsapi/egw_global"; import {et2_number} from "../../api/js/etemplate/et2_widget_number"; import {et2_template} from "../../api/js/etemplate/et2_widget_template";